Skip to content

Support step and list attributes on DateTime picker#1960

Open
ojuschugh1 wants to merge 1 commit intoIgalia:mainfrom
ojuschugh1:fix/datetime-step-list-1257
Open

Support step and list attributes on DateTime picker#1960
ojuschugh1 wants to merge 1 commit intoIgalia:mainfrom
ojuschugh1:fix/datetime-step-list-1257

Conversation

@ojuschugh1
Copy link

Handle the HTML step attribute on date/time inputs by snapping the selected value to the nearest valid step boundary when the user confirms. For Chromium, datalist suggestions are also forwarded and shown in a Spinner above the pickers so the user can pick from them.

On the Gecko side step is read from GeckoView directly but datalist is not exposed by the engine so we just fall back gracefully.

Fixes #1257

Handle the HTML step attribute on date/time inputs by snapping the
selected value to the nearest valid step boundary when the user
confirms. For Chromium, datalist suggestions are also forwarded and
shown in a Spinner above the pickers so the user can pick from them.

On the Gecko side step is read from GeckoView directly but datalist
is not exposed by the engine so we just fall back gracefully.

Fixes Igalia#1257
@ojuschugh1 ojuschugh1 force-pushed the fix/datetime-step-list-1257 branch from ba2c332 to 6869eb8 Compare February 27, 2026 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support step and list attributes on DateTime picker

1 participant