You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of the things that I loved about MVC is the asp-for on label elements. The ability to just provide the display name once as a data annotation and then reuse it at multiple places is really good.
Radzen label text needs to be typed as independent texts. If possible to pick the text from data annotation if custom text attribute is not specified. The label text should come from the component it is tied to. This will improve the development speed for CRUD forms a lot.
This thing can then be replicated to RadzenColumn and the Column header can come as default from the bound property data annotation attribute.
Another cool feature can be adding the required red star symbol if the data annotation has a required property.
The text was updated successfully, but these errors were encountered:
paritoshromy
changed the title
Feature Requested : RadzenLabel bound to input component should be able to get the text from Input data annotation display attribute
Feature Request : RadzenLabel bound to input component should be able to get the text from Input data annotation display attribute.
Oct 26, 2024
paritoshromy
changed the title
Feature Request : RadzenLabel bound to input component should be able to get the text from Input data annotation display attribute.
Feature Request : RadzenLabel bound to input component should be able to get the text from bound Input data annotation display attribute.
Oct 26, 2024
Localisation makes it bit tricky but I think that can be manageable through a custom function on the improved label component…need to give it a proper try though.
One of the things that I loved about MVC is the asp-for on label elements. The ability to just provide the display name once as a data annotation and then reuse it at multiple places is really good.
Radzen label text needs to be typed as independent texts. If possible to pick the text from data annotation if custom text attribute is not specified. The label text should come from the component it is tied to. This will improve the development speed for CRUD forms a lot.
This thing can then be replicated to RadzenColumn and the Column header can come as default from the bound property data annotation attribute.
Another cool feature can be adding the required red star symbol if the data annotation has a required property.
The text was updated successfully, but these errors were encountered: