Skip to content

Commit

Permalink
fix: date not changeable
Browse files Browse the repository at this point in the history
With variant=dialog changes to the date aren't applied.

Fixes #191
  • Loading branch information
jmattheis committed Oct 26, 2024
1 parent c1ecbf7 commit 308215f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/common/DateTimeSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const DateTimeSelector: React.FC<DateTimeSelectorProps> = React.memo(
return (
<KeyboardDateTimePicker
className="time-picker"
variant="dialog"
variant="inline"
InputProps={{disableUnderline: true}}
title={selectedDate.format()}
style={{width: (showDate ? 185 : 105) + (ampm ? 20 : 0)}}
Expand Down

0 comments on commit 308215f

Please sign in to comment.