nathan
afd0d0b43d
Fix some Et2InputWidgets would not get a label
2024-12-05 14:27:04 -07:00
nathan
1980251ac9
Et2Number: If user starts typing a number starting with a ".", it's < 1 regardless of user's number preferences
2024-12-04 10:54:55 -07:00
nathan
53a5428c82
Et2Number: Better handling of what to do when entered decimal character does not match preference
2024-12-03 11:04:28 -07:00
nathan
1ea0e7a56c
Et2Number formatting fixes
...
- fix issues with multiple . as thousands separator changed the number on blur.
eg: 123.456.789 was changed to 123.456,78
- add exception for N.A. numbers entered when "," is decimal separator
eg: 1.5 assume user meant 1,5 not 1500 or 15.
Precision is taken into account so if precision=3, assume 1.234 is 1,234 not 1.234,000.
2024-12-03 10:14:13 -07:00
nathan
5be31ead6c
Api: Fix Et2Number could not display empty value (""), gave 0 instead.
2024-11-12 13:21:22 -07:00
nathan
3e121cc953
Fix numbers got wrecked on blur
...
Numbers with , as decimal separator were being re-parsed incorrectly on blur, ruining what the user just input
2024-09-03 15:22:53 -06:00
nathan
3f789cfdce
Fix Et2Number had lost its spinner buttons
...
Also fix some failed tests and adjust widget sizing
2024-08-20 16:09:22 -06:00
nathan
efd2159a5f
* Add masking to Et2Textbox & Et2Number
...
Also prefix & suffix attribute for Et2Number
2024-08-02 16:24:52 -06:00
nathan
50352cf36a
Api: Fix missing required validation & styling
2024-03-15 14:13:56 -06:00
nathan
e034557f60
Api: Fix number could not handle comma as decimal separator if different from browser's region.
2023-03-22 10:59:05 -06:00
nathan
bc801f9c09
Fix missing import in et2 tests
2022-02-15 12:48:01 -07:00
nathan
ea2004173f
Etemplate: Fix readonly was still giving a value
2021-12-10 13:24:06 -07:00
nathan
4218b132f9
- Sort out some type issues to reduce warnings/duplication
...
- Some tests for textbox
2021-08-26 12:59:13 -06:00