wpftoolkit icon indicating copy to clipboard operation
wpftoolkit copied to clipboard

DoubleUpDown: When FormatString contains a unit, editing the text may cause unexpected result

Open AndersI6 opened this issue 2 years ago • 6 comments

I am using a DoubleUpDown to show power in Watt using FormatString="{}{0:0.###} W". If I edit the value without removing the "W" the decimal comma is lost. For example when insering "2," before "5 W" in the text box of the control I dont get "2,5 W" as expected but "25 W"!

This could cause my clients who use our software to overheat their samples.

If I instead just type "2,5" when the how text is selected ("5 W") I get "2,5 W" as expected.

AndersI6 avatar Mar 14 '22 14:03 AndersI6

Hi,

You are right ! We will have a look at this and get back to you. Thank you for pointing this out.

XceedBoucherS avatar Mar 15 '22 11:03 XceedBoucherS

Hi,

In version 4.4, using FormatString and modifying number part will no longer removes the decimal part.

evancekafando avatar Mar 30 '22 02:03 evancekafando

Sounds good. When is version 4.4 scheduled to be released?

AndersI6 avatar Jun 22 '22 12:06 AndersI6

这里是郭瑞的邮箱,已收到您的来件,我会尽快拜阅并给予您回复

zhongruijia avatar Jun 22 '22 12:06 zhongruijia

Hello, v4.4 should be released by the end of August 2022.

XceedBoucherS avatar Jun 28 '22 17:06 XceedBoucherS

Hello,

Thank you for the information.

Regards @nders

Från: XceedBoucherS @.> Skickat: den 28 juni 2022 19:02 Till: xceedsoftware/wpftoolkit @.> Kopia: Anders Isacson @.>; Author @.> Ämne: Re: [xceedsoftware/wpftoolkit] DoubleUpDown: When FormatString contains a unit, editing the text may cause unexpected result (Issue #1703)

Hello, v4.4 should be released by the end of August 2022.

— Reply to this email directly, view it on GitHubhttps://github.com/xceedsoftware/wpftoolkit/issues/1703#issuecomment-1168992937, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANFCEVCIIKW57QYRGFYVUE3VRMVY7ANCNFSM5QVYEPTA. You are receiving this because you authored the thread.Message ID: @.***>

AndersI6 avatar Jun 29 '22 06:06 AndersI6