-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not accept invalid filter values #73
Comments
Well, I'd like the form be linkable, so only a get method would be solution, am I right? |
Or get only |
Oh, I see, yeah, there should be "validation", but it will be still possible to pass invalid value from url - are you ok with it? |
It's OK. IMHO important is, that datasource callback does not obtain invalid filter. |
With newer nette/forms (I use v3.1.3) warning is emmited:
|
milo
pushed a commit
to milo/nextras-datagrid
that referenced
this issue
Oct 5, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The filter values are passed to datasource callback even the form is invalid. It can be problem when sanitized value is expected, let's say MAC or IP address. Not sure how to change the behaviour, maybe do not redirect and do not pass filter values.
The text was updated successfully, but these errors were encountered: