Skip to content
This repository has been archived by the owner on Jan 22, 2022. It is now read-only.

HTML5 datetime input types are not handled properly. #487

Open
UniversalSuperBox opened this issue May 10, 2021 · 1 comment
Open

HTML5 datetime input types are not handled properly. #487

UniversalSuperBox opened this issue May 10, 2021 · 1 comment

Comments

@UniversalSuperBox
Copy link
Member

On Android and desktop Firefox, date and time input boxes are automatically given some special input characteristics. For example, the "localtime" HTML5 input type is given a date and time spinner on Android:

Android browser showing a "set date and time" page after tapping a "localtime" input box

Morph doesn't do this. Instead, it takes on QtWebEngine's default behavior. In the version of QtWebEngine we are using, this is to display a simple up or down arrow.

Morph Browser displaying up and down arrows on a focused Time input

This is an awful way to enter a time.

It's possible that a newer version of QtWebEngine includes better date and time inputs. It's possible that we will need to create the input methods ourselves. Either way, the issue had to be filed.

@Keneda-ut
Copy link

Keneda-ut commented May 13, 2021

Thanks for creating issue after i bothered you here with my issue : #468
That would be indeed great that morph has a better handle of those forms, for example, using directly numkeys like it is possible on Firefox (PC version).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants