Commit Graph

21 Commits

Author SHA1 Message Date
nathan
66093ae038 Fix setting Et2DateDuration.value programmatically did not update UI 2024-09-11 10:59:59 -06: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
f8a8cf69dc Et2Number format improvements
- If precision is set, always show that many digits after the decimal
- Better handling of formatting of initial value
2024-08-06 16:09:18 -06:00
nathan
5cfc165f1d Et2Number: Pad number with specific mask to full number of decimals 2024-08-06 11:52:22 -06:00
nathan
05b983ab1c Et2Number: right align input, allow a custom mask 2024-08-06 09:18:19 -06:00
nathan
efd2159a5f * Add masking to Et2Textbox & Et2Number
Also prefix & suffix attribute for Et2Number
2024-08-02 16:24:52 -06:00
nathan
ff77675b3e Api: Adjust typical size & vertical alignment on text & number input 2024-06-24 16:46:30 -06:00
ralf
b493063e40 fix Et2Number shows scroll-buttons if disabled and allows to in/decrement value 2024-06-13 15:29:21 +02:00
ralf
160de9446b fix nothing input into number-field results into 0 causing e.g. timesheet quantity to be always 0 2024-04-23 12:33:04 +02:00
nathan
4d488ef76c Et2Number: Fix number scroll giving NaN 2024-04-17 15:51:27 -06:00
nathan
b65dca49e5 Etemplate: Fix number widget could not handle separators anymore
Broken by Shoelace update, I think.
2024-03-05 08:26:05 -07:00
nathan
e70974a8e5 Fix Et2Number would no longer validate 2024-02-29 14:10:54 -07:00
nathan
7238356b18 Api: Fix Et2Number did not respect min/max 2024-01-08 14:32:25 -07:00
Nathan Gray
e323cd1d79
Feature/shoelace 2.4 upgrade (#135)
Update shoelace to 2.9.0
2023-09-13 11:55:33 -06:00
nathan
027fc4dfab Always strip comma regardless of number preference so parse float always works. 2023-04-24 09:42:09 -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
e7f10c711c Fix numeric validator on a Et2Number would not pass 2023-03-08 13:28:04 -07:00
ralf
817aba5af6 fix custom fields (somehow input widgets had no readonly) and some JS errors
Et2Number still misses styles, thought it extends Et2Textbox
2022-07-22 09:03:54 +02:00
ralf
f76ee3c920 forward min, max and step attribute to input node 2022-03-06 20:44:20 +02:00
ralf
4f93ceb16e Implement et2-number(_ro) and preprocess <(textbox|float|int(eger)|number) type="float|int(eger)" to it in etemplate.php
.
2022-03-06 20:14:53 +02:00