Create Option text in InputPicker #3660
Answered
by
simonguo
Abdullah1lb
asked this question in
Q&A
-
how can i change "Create Option" text in InputPicker to the custom text? |
Beta Was this translation helpful? Give feedback.
Answered by
simonguo
Mar 5, 2024
Replies: 1 comment 1 reply
-
You can override the global locale through the <InputPicker
creatable
locale={{ createOption: 'New Item: {0}' }}
/> In addition, |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Abdullah1lb
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can override the global locale through the
locale
prop of the component.In addition,
CustomProvider
component can be used to override the global locale. https://rsuitejs.com/guide/i18n/