Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DateRangePicker: Fix not updating validation-status #2691

Merged
merged 2 commits into from
Sep 11, 2021
Merged

DateRangePicker: Fix not updating validation-status #2691

merged 2 commits into from
Sep 11, 2021

Conversation

kuebelkasten
Copy link
Contributor

@kuebelkasten kuebelkasten commented Sep 10, 2021

As described #1428 I've set the internal _value to the range's end-date so it fullfills the Required condition.

Maybe @henon can take care of this as he initially added the Required-feature for DateRangePickers in the first place.

* set end-date (as both has to be set)
* added test to viewer-project
@henon
Copy link
Collaborator

henon commented Sep 10, 2021

what do you mean with take care of it ? ;)

it is great that you added a test component. to make sure this fix will never be unfixed accidentally by future PRs please also add a bUnit test which uses your new test component to verify the behavior. Should be very easy when you look at the other tests.

@kuebelkasten
Copy link
Contributor Author

@henon bUnit-test added. Hope this one can be released soon as this currently is some kind of show-stopper for my current development (working around with two dedicated DatePickers using the selected date as min/max for the other picker).

@henon
Copy link
Collaborator

henon commented Sep 11, 2021

Perfect job! Thanks. No worries, we release quite often. If you want you can get in touch with @Garderoben on Discord. He'll know about the timing of the next release.

@henon henon merged commit 70f9938 into MudBlazor:dev Sep 11, 2021
@henon henon added this to the 5.1.4 milestone Sep 11, 2021
@henon henon changed the title DateRangePicker: Not updating validation-status DateRangePicker: Fix not updating validation-status Sep 11, 2021
@kuebelkasten kuebelkasten deleted the fix/DateRangePicker-ValidationIssue branch September 13, 2021 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants