Error duing Form validation #736

Closed
opened 2026-01-29 17:42:31 +00:00 by claunia · 1 comment
Owner

Originally created by @prrandrade on GitHub (Feb 16, 2023).

Hello everyone, this is a continuation of https://github.com/radzenhq/radzen-blazor/issues/815

I found the problem! :-D

'@bind-value' (with a lowercase 'v') does not trigger the validation, but the binding continues to work.
'@bind-Value' (witha Uppercase 'v') resolves the problem.

I think this is a bug, isn't it?

Originally created by @prrandrade on GitHub (Feb 16, 2023). Hello everyone, this is a continuation of https://github.com/radzenhq/radzen-blazor/issues/815 I found the problem! :-D '@bind-value' (with a lowercase 'v') does not trigger the validation, but the binding continues to work. '@bind-Value' (witha Uppercase 'v') resolves the problem. I think this is a bug, isn't it?
Author
Owner

@akorchev commented on GitHub (Feb 16, 2023):

This isn't a but - the property is called Value and casing is important. Unfortunately we haven't found a way to detect this case as Radzen Blazor components support custom attributes as well. In this case @bind-value is treated as a custom attribute.

@akorchev commented on GitHub (Feb 16, 2023): This isn't a but - the property is called Value and casing is important. Unfortunately we haven't found a way to detect this case as Radzen Blazor components support custom attributes as well. In this case `@bind-value` is treated as a custom attribute.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#736