[yew-devel] [PATCH proxmox-yew-comp v3 1/2] schema_validation: use Schema to populate field properties of number, check- and combobox
Dietmar Maurer
dietmar at proxmox.com
Fri Oct 10 10:32:37 CEST 2025
partially applied.
- setting placeholder is OK
- setting tips from description is problematic, because those
description are basically for developers and have no translations, so I
think its not worth to do it.
- setting field default values form schema default is most times not
what you need (depends highly on your input form logic)
- setting validator for Number makes no sense
(schema.parse_simple_value() does not add any advantage, because values
are already parsed - correct me if I am wrong)
- auto-generating Combobox is usually not what we want, because we
display translated, annotated items...
- Dietmar
More information about the yew-devel
mailing list