-
-
Notifications
You must be signed in to change notification settings - Fork 533
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
Autocomplete
validation refactor
#4767
Comments
@stsrki Let's consider if this is a worthy refactor |
I just ran into a need for this as well. It would be a worthy addition |
Autocomplete having it's own Validation is causing me a lot of problems because I use Fluent Validation everywhere else in my app. |
Its not possible to use dataannotation/fluent validations at all when heavily used autocomplete does not support it... |
Hello. We are aware of the limitations with validation on Autocomplete. But due to the needed changes we are planning to do it in 2.0 release. |
Are their any updates on this topic? |
It is planned for 2.0. We haven't started working on this feature yet because we had first to refactor input APIs, see #5732 Now that that is mostly done, we can start working on Autocomplete. But it is not going to be released soon. |
but from what I can tell, in
Autocomplete
you either have to set theValidator
orAsyncValidator
parameters with your validation.https://blazorise.com/docs/extensions/autocomplete
I believe Data Annotations aren't currently supported by
Autocomplete
in that case. Again correct me If I'm wrong.Also I'd argue that we should remove the internal
Validator
andValidator
/AsyncValidator
and just have the validation work as regular Blazorise Validation would work, by wrapping with theValidations
/Validator
outside theAutocomplete
.Originally posted by @David-Moreira in #4628 (comment)
The text was updated successfully, but these errors were encountered: