#Select Input Return value

9 messages · Page 1 of 1 (latest)

trim dove
#

Hi Everyone!

is it possible to return something that is not a string from a Select component? if not is there a change to pre process data with mantine/forms?

hidden dock
#

select value must be string, but there is nothing stopping you from storing an object that translates the string into other values like mySelectValues[selectValue] = someOtherData

cunning mesa
#

Like said before no but you can create your own with TextInput + Popover

cunning mesa
hidden dock
cunning mesa