TimeRangeInput: Fix clear button type (#56545)
This commit is contained in:
@@ -78,7 +78,12 @@ export const TimeRangeInput: FC<TimeRangeInputProps> = ({
|
||||
|
||||
return (
|
||||
<div className={styles.container}>
|
||||
<button className={styles.pickerInput} aria-label={selectors.components.TimePicker.openButton} onClick={onOpen}>
|
||||
<button
|
||||
type="button"
|
||||
className={styles.pickerInput}
|
||||
aria-label={selectors.components.TimePicker.openButton}
|
||||
onClick={onOpen}
|
||||
>
|
||||
{isValidTimeRange(value) ? (
|
||||
<TimePickerButtonLabel value={value} timeZone={timeZone} />
|
||||
) : (
|
||||
|
||||
Reference in New Issue
Block a user