I want to query standard HTML textarea which is wrapped by lightning-textarea. How can I get it?

<lightning-textarea name="secret_field" label="Secret" value={secretFieldValue}></lightning-textarea>


1 Answer 1


For "secret" inputs, you want to use <lightning-input type="password" />. This provides the default "hidden" input characters as you'd expect.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .