Skip to content

Commit

Permalink
task: autohighlight and set max height
Browse files Browse the repository at this point in the history
  • Loading branch information
finnar-bin authored and agalin920 committed May 20, 2024
1 parent c8b5164 commit 82a6739
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/shell/components/FieldTypeDateTime/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ export const FieldTypeDateTime = ({
),
timezonePicker: showTimezonePicker && (
<Autocomplete
autoHighlight
fullWidth
disableClearable
size="small"
Expand All @@ -294,6 +295,11 @@ export const FieldTypeDateTime = ({
setTimezone(value.id);
onTimezoneChange && onTimezoneChange(value.id);
}}
ListboxProps={{
sx: {
maxHeight: 320,
},
}}
/>
),
}}
Expand Down

0 comments on commit 82a6739

Please sign in to comment.