Select a start time from the first TimePicker and then the second TimePicker will be enabled. Select an end time from the second TimePicker to get a time range
. Click/Touch the Business Hours checkbox to change both the TimePickers to read-only
state.
Time Range sample illustrates the appointment time selection scenario with the start and end time option. Here, two TimePicker components are used to select the start and end time. Before the start time selection, the end time TimePicker is in disable state. When the start time is selected, then you will be able to select the end time or else, need to select the entire business hours 9:00 to 18:00 from the Business Hours option. Once the options are checked, both the TimePicker components goes to readonly state. More information about the time range restriction can be found in the documentation section.