FluentNumberField with nullable value return validation error #2337
Labels
area:fluent-ui-web-components
A FluentUI specific issue
closed:duplicate
Duplicate of another issue
status:blocked
Any issue blocked by another
🐛 Bug Report
I have in EditForm
💻 Repro or Code Sample
EidtForm with FluentNumberField and nullable value
🤔 Expected Behavior
Nothing to type and after pressing Submit button, I expected
No validation error for nullable types without attributes
User must see empty field and it is valid situation
😯 Current Behavior
Nothing to type and after pressing Submit button, I see
The value '' is not valid for 'Abc'.
The same error if I create my own validation attribute with Valid = true
🔦 Context
Edit form with optional numeric values
🌍 Your Environment
Windows, Google Chrome
.NET8 and Fluent UI Blazor library Version 4.*
The text was updated successfully, but these errors were encountered: