#Most elegant way to use useForm with the Select component for number values

3 messages · Page 1 of 1 (latest)

sacred oriole
#

Hey! I'm using useForm with initialValues set to an item I get back from an API. One of the field is a number and should be chosen via a select component. However, the Select component only accepts string values. Any classic way to solve this without complement bypassing ...form.getInputProps() ?

grand slate