public inbox for yew-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH yew-widget-toolkit 0/2] widget: form: number: fix float display and focus
@ 2026-03-19 17:04 Christoph Heiss
  2026-03-19 17:04 ` [RFC PATCH yew-widget-toolkit 1/2] widget: form: number: round floats to nearest step value Christoph Heiss
  2026-03-19 17:04 ` [PATCH yew-widget-toolkit 2/2] widget: form: number: allow focusing the input on click Christoph Heiss
  0 siblings, 2 replies; 3+ messages in thread
From: Christoph Heiss @ 2026-03-19 17:04 UTC (permalink / raw)
  To: yew-devel

Both patches are independent and can be applied separately, if wanted.

Patch #1 fixes the formatting for the `Number` widget with floating
point numbers, when using the step buttons.

Patch #2 fixes focusing the input by click, which currently is
intercepted too early and thus broken.

Christoph Heiss (2):
  widget: form: number: round floats to nearest step value
  widget: form: number: allow focusing the input on mouse click

 src/widget/form/number.rs | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

-- 
2.53.0





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-03-19 17:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-19 17:04 [PATCH yew-widget-toolkit 0/2] widget: form: number: fix float display and focus Christoph Heiss
2026-03-19 17:04 ` [RFC PATCH yew-widget-toolkit 1/2] widget: form: number: round floats to nearest step value Christoph Heiss
2026-03-19 17:04 ` [PATCH yew-widget-toolkit 2/2] widget: form: number: allow focusing the input on click Christoph Heiss

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal