Make create option always visible, even when not writing. Any idea on how to implement? #5778
-
I am attempting to ensure that the 'Create 'X'' option remains visible at all times, even when the user hasn't entered any value. The goal is to provide a clear indication to the user that they can create. If achieving this isn't possible, how would you do it? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @AndreaEsposit , it is possible to achieve this with If you need 'Create "x" ' all time, even when empty, just pass Sample Code to show Create text once user enters anything in input:
|
Beta Was this translation helpful? Give feedback.
Hi @AndreaEsposit , it is possible to achieve this with
isValidNewOption
props.You can check it on this code sandbox
If you need 'Create "x" ' all time, even when empty, just pass
isValidNewOption={(input) => () => true}
which will show up like image attached below.Sample Code to show Create text once user enters anything in input: