You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks first of all for creating this awesome project!
While trying to integrate autoform into a project of mine, I came across a limitation of the select field.
The Problem
I have some data from a api that gets fetched on pageload with custom data.
It looks something like this:
I am not sure why this is, but this seems very unintuitive, especially when working with values that are not just simple 'one value' enums.
Solution?
Is there a way to work around this? Or even improve the Code to allow for the value to be validated not the label?
Or using a different (custom) datatype, an array of objects with label & value attributes for example
The text was updated successfully, but these errors were encountered:
Thanks first of all for creating this awesome project!
While trying to integrate autoform into a project of mine, I came across a limitation of the select field.
The Problem
I have some data from a api that gets fetched on pageload with custom data.
It looks something like this:
I want to display the name of the field in the select menu, and when submitting it should pass the id.
In the docs I found this sentence:
I am not sure why this is, but this seems very unintuitive, especially when working with values that are not just simple 'one value' enums.
Solution?
Is there a way to work around this? Or even improve the Code to allow for the value to be validated not the label?
Or using a different (custom) datatype, an array of objects with label & value attributes for example
The text was updated successfully, but these errors were encountered: