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

Add default views for material date/time controls #1960

Merged
merged 1 commit into from
Jun 26, 2022

Conversation

lucas-koehler
Copy link
Contributor

When no views to show for date and/or time controls are specified in the UI Schema, explicitly hand in the default ones.

This ensures consitent behavior if the internal default of the material controls changes and avoids type errors on undefined views arrays.

When no views to show for date and/or time controls are specified in the UI Schema, explicitly hand in the default ones.

This ensures consitent behavior if the internal default of the material controls changes and avoids type errors on undefined views arrays.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 84.098% when pulling fd5777d on material-date-time-default-views into 31972a5 on master.

Copy link
Member

@sdirix sdirix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sdirix sdirix merged commit 23a3a9e into master Jun 26, 2022
@sdirix sdirix linked an issue Jun 26, 2022 that may be closed by this pull request
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.

date-time format material renderer crashes
3 participants