public inbox for yew-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: "Christoph Heiss" <c.heiss@proxmox.com>
To: "Dominik Csapak" <d.csapak@proxmox.com>
Cc: yew-devel@lists.proxmox.com
Subject: Re: [PATCH yew-widget-toolkit v2] widget: form: number: round floats to some decimal precision
Date: Tue, 05 May 2026 15:27:28 +0200	[thread overview]
Message-ID: <DIAS0PIXS2OB.1U24M5J1NUMD0@proxmox.com> (raw)
In-Reply-To: <12d9ae9f-86f3-46e3-92ba-90eea536a0d4@proxmox.com>

On Tue Apr 7, 2026 at 3:58 PM CEST, Dominik Csapak wrote:
> this patch only changes the precision during step_up/down or am
> I missing something here?
>
> If we do have such a precision field/decimal  property,
> it should have an effect also on read/write value,
> renderer etc. (like i wrote in my last message)
>
> e.g. if i would set a value of '3.00001' with 'decimal_places'
> set to '1', it would not change the current behavior?

Right, yeah, good catch.

Sent a v2 with (hopefully) all that addressed:

https://lore.proxmox.com/yew-devel/20260505132650.1158715-1-c.heiss@proxmox.com/




      reply	other threads:[~2026-05-05 13:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-27 10:27 [PATCH yew-widget-toolkit v2] widget: form: number: round floats to some decimal precision Christoph Heiss
2026-04-07 13:58 ` Dominik Csapak
2026-05-05 13:27   ` Christoph Heiss [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DIAS0PIXS2OB.1U24M5J1NUMD0@proxmox.com \
    --to=c.heiss@proxmox.com \
    --cc=d.csapak@proxmox.com \
    --cc=yew-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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