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
For some FormField types (noticed specifically with CurrencyField but bound to be with others as well), there's front-end validation errors that occur on-blur in the search filters in gridfield.
Click "Search options", click on the currency field, and then click off it.
Behold, a message saying the value isn't valid.
Notes
It's unclear whether we should allow some validation here or not. Perhaps engage the UX team?
Removing the frontend validation resolves the problem, technically, but reduces the usefulness of these specific form fields if they're explicitly used
Keeping the frontend validation could be useful for some scenarios but isn't backed up with backend validation at all
You can still submit the form - the error is purely visual
None of the default scaffolded search fields should have this problem anymore - but it still happens on explicitly set fields like CurrencyField and probably EmailField
The text was updated successfully, but these errors were encountered:
For some
FormField
types (noticed specifically withCurrencyField
but bound to be with others as well), there's front-end validation errors that occur on-blur in the search filters in gridfield.The example screenshot below comes from silverstripe/silverstripe-framework#11602 (review)
Steps to reproduce
DataObject
with aCurrency
db field.Notes
CurrencyField
and probablyEmailField
The text was updated successfully, but these errors were encountered: