Skip to content

Create Option text in InputPicker #3660

Answered by simonguo
Abdullah1lb asked this question in Q&A
Discussion options

You must be logged in to vote

You can override the global locale through the locale prop of the component.

<InputPicker
  creatable
  locale={{ createOption: 'New Item: {0}' }}
/>

In addition, CustomProvider component can be used to override the global locale. https://rsuitejs.com/guide/i18n/

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Abdullah1lb
Comment options

Answer selected by Abdullah1lb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants