[Blazor] New parameter value not being reflected when InputBase
-derived component displays _incomingValueBeforeParsing
(_parsingFailed
is true
)
#60334
Labels
area-blazor
Includes: Blazor, Razor Components
Milestone
Is there an existing issue for this?
Describe the bug
When you set new value to
Value
parameter and theInputBase
-derived component is in_parsingFailed == true
state, the_parsingFailed
is not reset (neither theValidationMessageStore
) and the input renders the previous_incomingValueBeforeParsing
.Expected Behavior
Reset
_parsingFailed
and_parsingValidationMessages
when newValue
parameter value is set from outside.Steps To Reproduce
input
, such as02/30/2000
....the
InputDate
does not render current date, the invalid date is still being rendered.Exceptions (if any)
No response
.NET Version
9.0.1
Anything else?
Introduced within #46434.
(I can try to help with creating an E2E test and implement a PR if we agree on an approach to take.)
The text was updated successfully, but these errors were encountered: