I need to access the combobox child (textinput and button) without creating a customize component. I know the best practice is to create a custom component but still need to access the combobox child like textinput and listen for their event. Any help ?
I need to access the combobox child (textinput and button) without creating a customize
Share
You can add an event to the textInput of your comboBox like this :
because the textInput object is a child of the comboBox object (myComboBox.textInput).
Here’s a full working example