I have a search field and would like to have all the text automatically selected when the user clicks on the field. I've tried using focus events with ui:inputText and lightning:input but can't get access to the underlying input tag. I think it's Locker Service that's getting in my way. Anyone know how to do this?



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.