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
I am using bs:FormControlComboBox in a .dothtml page, where as a data source is used an ICollection filled with values from enum + value "null". In the view model is used a model which inherits "IValidatableObject" and has the Validate method implemented. If the validation of this object fails, the page throws error 500 (Unhandled exception), instead of highlighting the required field to the user. The bug "dissapears" (the validation works as it should and highlights the required fields) if the value "null" is removed from the data source of the bs:FormControlComboBox.
Hello,
I am using bs:FormControlComboBox in a .dothtml page, where as a data source is used an ICollection filled with values from enum + value "null". In the view model is used a model which inherits "IValidatableObject" and has the Validate method implemented. If the validation of this object fails, the page throws error 500 (Unhandled exception), instead of highlighting the required field to the user. The bug "dissapears" (the validation works as it should and highlights the required fields) if the value "null" is removed from the data source of the bs:FormControlComboBox.
Bug reproduction project : https://github.com/kostyio/NullablePropertyDotVVMValidatorBug
The text was updated successfully, but these errors were encountered: