Closed joe97z closed 3 months ago
Hi, thanks for your PR. The problem with your proposed solution is that now null values are not being set anymore although they are valid values in the general case.
But at the same time the property MudAutocomplete<T>.ResetValueOnEmptyText
property is left at the default value (false) which means that there will never be a null
value.
In my opinion the MudBlazor project did not properly null-annotate their SetValueAsync
method to allow for null values and so we can only wait for an update from them.
So to summarize:
SetValueAsync
methodI prefer reevaluating issue #105 as soon as https://github.com/MudBlazor/MudBlazor/issues/6535 is solved. Thanks again for your efforts!
adding if statement for the value if is not "Null"