[yew-devel] [PATCH yew-widget-toolkit v2 0/2] use Schema to populate field properties

Dietmar Maurer dietmar at proxmox.com
Thu Oct 9 13:30:41 CEST 2025


pwt must not depend on proxmox crates.
proxmox-schema related code is in proxmox-yew-comp ...
On Thursday, 10/09/2025, 13:25, Hannes Laimer <h.laimer at proxmox.com> wrote:

>From : Hannes Laimer <h.laimer at proxmox.com>
Sent on : Thursday, 10/09/2025, 13:25
To : yew-devel at lists.proxmox.com
Subject : [yew-devel] [PATCH yew-widget-toolkit v2 0/2] use Schema to populate field properties
The idea is to have things like description or enum/selection items only
specified in one place.

This preparatory for a series adding basic firewall intergration
into PDM, so this is not used anywhere currently. But this also makes
sense on its own so I am sending it separate from that.

Hannes Laimer (2):
  number: add tooltip to number field
  form: add schema() builder funtion to checkbox, number and field

 Cargo.toml                  |  5 +++
 src/widget/form/checkbox.rs [http://checkbox.rs/] | 20 ++++++++++
 src/widget/form/combobox.rs [http://combobox.rs/] | 45 +++++++++++++---------
 src/widget/form/field.rs [http://field.rs/]    | 28 ++++++++++++++
 src/widget/form/number.rs [http://number.rs/]   | 74 +++++++++++++++++++++++++++++++++++--
 5 files changed, 151 insertions(+), 21 deletions(-)

-- 
2.47.3



_______________________________________________
yew-devel mailing list
yew-devel at lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/yew-devel



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/yew-devel/attachments/20251009/e42c6cd7/attachment.htm>


More information about the yew-devel mailing list