atk4 / ui

Robust and easy to use PHP Framework for Web Apps
https://atk4-ui.readthedocs.io
MIT License
440 stars 105 forks source link

`data-id` values must not be typecasted using UI persistence #1985

Closed mkrecek234 closed 1 year ago

mkrecek234 commented 1 year ago

The newly added decimalSupport in #1981 will not correctly interprete dots and commas.

Steps to reproduce:

Expected behaviour:

Current behaviour:

mvorisek commented 1 year ago

this issue needs a Behat test

the current problem is undetected because of #1985 as the (UI formatted) value is parsed by PHP (on AJAX, what you describe as 1.2 -> 1 issue) but it is silently accepted