5
0
mirror of git://git.proxmox.com/git/proxmox-backup.git synced 2025-01-25 06:03:57 +03:00
Stefan Sterz 9d66b5b5c3 ui: trim whitespaces when adding a subscription key
users that add the correct subscription key just get unnecessarily
confused with a "value does not match the regex pattern" error if
they accidentally have a stray whitespace at the end or beginning
otherwise.

Switch to using our `proxmoxtextfield` component that provides a
`trimValue` config option since widget-toolkit commit 5d7d30d ("text
field: add trimValue config") that was made just for this case.

Signed-off-by: Stefan Sterz <s.sterz@proxmox.com>
 [ TL: reference widget toolkit commit ]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2024-03-01 10:44:40 +01:00
..
2021-03-08 15:51:49 +01:00
2023-11-29 18:32:07 +01:00
2023-03-09 08:04:18 +01:00
2022-09-12 09:42:01 +02:00
2024-01-12 10:26:55 +01:00
2023-11-28 17:34:56 +01:00
2022-06-13 10:01:05 +02:00
2023-11-29 18:32:07 +01:00
2020-09-25 18:34:54 +02:00