[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 15:51:11 CEST 2025


We don't for example for firewall logging levels or firewall policies
like DROP, REJECT, ACCEPT. Also having the default as a placeholder
automatically is, if nothing else, convenient. tbh, I'm not super sure
how often we do this, so may not be warranted to have a general thing if
only these two end up using it.
Good example. I guess a good UI would explain the difference between DROP and REJECT:
DROP => Silently discard the packet.
REJECT => Reject packet and send an error message back.
Just write a small helper (combobo_from_schema(..)).
If it turns out to be useful, we can still add it to the schema helper.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/yew-devel/attachments/20251010/ab378658/attachment.htm>


More information about the yew-devel mailing list