You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I need to highlight the first option as active (highlighted) on mount. So when the Combobox with predefined Combobox.Inputvalue mounts and I press Enter, onChange handler in Combobox should be called. Now I need to press ArrowDown to highlight an option.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I need to highlight the first option as active (highlighted) on mount. So when the
Combobox
with predefinedCombobox.Input
value
mounts and I pressEnter
,onChange
handler inCombobox
should be called. Now I need to pressArrowDown
to highlight an option.Here is codesandbox repo: https://codesandbox.io/p/sandbox/nifty-bash-4cpwqc?file=%2Fsrc%2FApp.js%3A31%2C34-31%2C42
This is how the component looks on mount now:
This is how it should look like:
Is there a way to achieve this?
Beta Was this translation helpful? Give feedback.
All reactions