Need More Info
Last Updated: 18 Mar 2021 19:31 by ADMIN
Marin Bratanov
Created on: 03 Jul 2020 10:34
Category: UI for Blazor
Type: Feature Request
11
Inputs to Validate only in the OnChange event, not on every keystroke

See more details in the following KB article: https://docs.telerik.com/blazor-ui/knowledge-base/textbox-validate-on-change and if the behavior and solution there do not fit your needs, leave your comments and ideas on how you want this exposed for configuration and what the desired behavior is. Also, make sure to Vote for this enhancement so we can gauge the public interest in it.

6 comments
ADMIN
Marin Bratanov
Posted on: 18 Mar 2021 19:31

Hello Scott,

That would be possible only on simple inputs that also don't need to handle other events internally. Unfortunately, for complex components like ours it won't be possible.

 

Regards,
Marin Bratanov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Scott
Posted on: 18 Mar 2021 18:23
I like that the default behavior is based on input, but there are sometimes when it does not make sense like email address input validation.

Would it be possible to support the bind event argument?

@bind-value:event="onchange"
Giuseppe
Posted on: 17 Dec 2020 14:32

Hi Marin

 

I don't have a suggestion, but I would appreciate if validation would just happen when the control looses the focus.

We have a few TextBoxes that it's configured with min/max length. 

I believe it looks strange when the user jumps into the text box and after putting in one char it shows already the error message.

/my5cents

Best Regards and Merry Xmas

Giuseppe

 

ADMIN
Marin Bratanov
Posted on: 17 Dec 2020 09:10

Probably yes, Giuseppe, such a parameter is our current idea, but we use this page to gather other ideas and feedback too. So, if you have other suggestions, feel free to share them.

 

Regards,
Marin Bratanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Giuseppe
Posted on: 16 Dec 2020 12:44

Hi Marin

 

This vote is to have ValidateOnlyOnChange feature?

 

Best

Giuseppe

ahmet
Posted on: 03 Jul 2020 16:33
It could be a nice feature to have it, especially as a parameter to switch it on or off because there might be valid cases for both scenarios.