Jump to content

Logic issue with datetime field


Sonya*

Recommended Posts

Posted

There are logic issues on the datetime field.

Unbenannt-1.png.fee1649db97e1ed6352c0e331db06673.png

If you have the last day of the month and click on arrow up, you will not get to the next day (the first day of the next month). The behavior in the screenshot above is:

  • arrow up -> 31.11.2019 (this day does not exist)

Another example:

screenshot-localhost-2019_11.15-10_06_26.png.f79ae213ae41e794195fc3ea332feb8a.png

  • arrow up -> 01.10.2019 (should be 01.11.2019)
Posted

What browser are you using? That's generally a function of your browser, unless it does not support date fields at all, in which case we use a polyfill (which we did not develop in-house) to add date management to date fields.

Posted
Just now, bfarber

What browser are you using? That's generally a function of your browser, unless it does not support date fields at all, in which case we use a polyfill (which we did not develop in-house) to add date management to date fields.

Yes, it is Chrome 😪

Posted
10 hours ago, Mr 13 said:

This is how chromium-based browsers work. You need to select month or year if you want to change them with this arrows.

It does not work for me at all. The month and year are selected in my screenshot. If I open calendar and select the date there, the arrow still does not work properly. In what browser does it work? Is there a possibility to change the field suite-wide? 

Posted
5 hours ago, Sonya* said:

The month and year are selected in my screenshot.

  • They are not selected on your screenshot. 
  • You cant select month and year. You can select just one of them, and then use arrows.

This is how it looks when you select one of them:

image.png.5d5e40f2ef20e74223a7480dc406b257.png
image.png.961472d0cdeae286f4ff85c9b6f211a4.png

Posted
On 11/16/2019 at 2:47 AM, Sonya* said:

Oh, I see. This is not really user-friendly. 😞 

You may wish to reach out to the Chromium project (the backbone for Chrome, Safari and soon MS Edge) to relay your feedback. We don't develop the browser itself as I'm sure you are aware. 😛 

Posted

You could hide it 🙂 

input[type=date]::-webkit-inner-spin-button,
input[type=date]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...