1
vote
Accessing Child Components in lightning-input DOM element
You can't nest input fields, neither in LWC or even normal HTML. The reason why this doesn't work is because lightning-input doesn't have a default slot. Even getting the input element wouldn't set ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
lightning-aura-components × 9283lightning × 2984
apex × 968
javascript × 896
lightning-experience × 882
aura × 735
lightning-apps × 667
lightning-design-system × 512
lightning-web-components × 477
visualforce × 442
community × 418
locker-service × 300
css × 212
javascript-controller × 205
salesforce1-app × 198
lightning-events × 192
slds × 185
lightning-community × 176
aura-attribute × 162
lightning-datatable × 140
aura-iteration × 117
controller × 111
visual-workflow × 102
community-builder × 89
quickaction × 87