diff --git a/changelog/entries/unreleased/bug/3041_.json b/changelog/entries/unreleased/bug/3041_.json new file mode 100644 index 000000000..ff976c003 --- /dev/null +++ b/changelog/entries/unreleased/bug/3041_.json @@ -0,0 +1,8 @@ +{ + "type": "bug", + "message": "Fixed unscrollable timezone dropdown issue when creating/editing a field.", + "domain": "database", + "issue_number": 3041, + "bullet_points": [], + "created_at": "2025-03-10" +} \ No newline at end of file diff --git a/web-frontend/modules/database/components/field/FieldDateSubForm.vue b/web-frontend/modules/database/components/field/FieldDateSubForm.vue index 72f8b46f0..f391de3b4 100644 --- a/web-frontend/modules/database/components/field/FieldDateSubForm.vue +++ b/web-frontend/modules/database/components/field/FieldDateSubForm.vue @@ -75,7 +75,8 @@ :add-empty-item="false" :initial-display-name="defaultValues.date_force_timezone" :fetch-on-open="true" - :debounce-time="100" + :debounce-time="20" + :page-size="pageSize" :fixed-items="true" @input="(timezone) => (values.date_force_timezone = timezone)" ></PaginatedDropdown> @@ -141,6 +142,7 @@ export default { date_force_timezone: null, date_force_timezone_offset: null, }, + pageSize: 100, } }, computed: { @@ -187,7 +189,7 @@ export default { }, methods: { fetchTimezonePage(page, search) { - const pageSize = 20 + const pageSize = this.pageSize const start = (page - 1) * pageSize const results = this.filterTimezones(search || '') // The paginate dropdown expects a HTTP response-like object with these properties