[pve-devel] [PATCH widget-toolkit v3 4/4] form: set enforceMaxLength on textareafield

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Feb 26 18:59:21 CET 2025


Am 10.12.24 um 17:11 schrieb Gabriel Goller:
> This allows us to set `maxLength` on it. `enforceMaxLength` will force
> extjs to set the `maxLength` property on the underlying inputfield.
> 

isn't it enough to make the field invalid?

It might not be a big problem in practice here, but personally I find
it slightly infuriating if there is a hard blocker for going over a text
length limit, as that makes restructuring the text to a shorter variant
harder to do, as there it's often useful to be able to (temporarily) write
a longer text as what it's allowed to submit.




More information about the pve-devel mailing list