required property

  1. @Input()
bool required
getter/setter pair

Whether the time entry is required.

If true, the embedded text field will display an error to the user if blank. If false, clearing the text field will set time to null.

Implementation

@Input()
bool required = false;