-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Timepicker documentation #29941
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
Timepicker documentation #29941
Conversation
|
|
||
| If the user types in an invalid time string (for example `abc` or `24:67`), the timepicker input | ||
| will report the `matTimepickerParse` error. The string is parsed using the `parseTime` method of | ||
| the [the current date implementation](#choosing-a-date-implementation-and-format-settings). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe the choosing a date implementation and format section should appear before this section does?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My thinking with not putting it further up was that for most users they won't really need to choose an implementation since it'll reuse the one they already have for the datepicker.
Fixes that the `_lastValueValid` was defaulting to false which meant that it would be considered as invalid on load.
…ples Populates the timepicker's guide and add live examples.
067d052 to
8e7a913
Compare
crisbeto
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The feedback has been addressed.
|
|
||
| If the user types in an invalid time string (for example `abc` or `24:67`), the timepicker input | ||
| will report the `matTimepickerParse` error. The string is parsed using the `parseTime` method of | ||
| the [the current date implementation](#choosing-a-date-implementation-and-format-settings). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My thinking with not putting it further up was that for most users they won't really need to choose an implementation since it'll reuse the one they already have for the datepicker.
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Adds docs and live examples for the timepicker. Also fixes a minor bug.