#use-form with initial values from API
1 messages · Page 1 of 1 (latest)
Is it better to do it this way, or to initialize the form? Especially referring the example with tanstack query. https://mantine.dev/form/values/#initialize-form
Depends on what you want to achieve, I usually do not render form at all until the values are loaded.
Oh really? Would you say thats better practice? I think in my case im ok with disabling all fields while the form isnt initialized yet.
It depends on what you want to do and how you want your form to look like. In my applications I prefer to show loading screen when there is no data