Skip to content

Autocomplete validation refactor #4767

@David-Moreira

Description

@David-Moreira
          I was just taking a brief look at `Autocomplete` validation, correct me if I'm wrong @stsrki 

but from what I can tell, in Autocomplete you either have to set the Validator or AsyncValidator parameters with your validation.
image
image
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 and Validator / AsyncValidator and just have the validation work as regular Blazorise Validation would work, by wrapping with the Validations / Validator outside the Autocomplete.

Originally posted by @David-Moreira in #4628 (comment)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions