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
I am using React Async Select and I found out that by default it places the cursor(caret) at the start of the placeholder when the input is focused. How can I place the cursor at the end? I did not find any prop that I can pass to select component to achieve that behavior. Here's my AsyncSelect:
`<AsyncSelect
styles={selectStyle}
openDropdown={openDropdown}
setOpenDropdown={setOpenDropdown}
emoji={emoji}
loadOptions={suggestions}
placeholder="City, Place, Art, Architecture, Park, Collection..."
onChange={handleSearch}
components ={{ Control }}
/>`
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
-
I am using React Async Select and I found out that by default it places the cursor(caret) at the start of the placeholder when the input is focused. How can I place the cursor at the end? I did not find any prop that I can pass to select component to achieve that behavior. Here's my AsyncSelect:
Beta Was this translation helpful? Give feedback.
All reactions