Int64Editor does not notify property changed on custom format with zero section

Editors for WPF Forum

Posted 3 months ago by Mike PB
Version: 19.1.0683
Platform: .NET 4.8
Environment: Windows 10 (64-bit)
Avatar

Hi,

The Int64EditBox and variants do not work correctly when a custom format is supplied with three sections e.g. "0;-0;Zero":

<editors:Int64EditBox 
            Value="{Binding Value}" 
            Format="0;-0;Zero"/>

In this case, when spinning from -1 upwards, the sequence is correctly displayed as "-1", "Zero", "1". However the Value binding does not get updated with 0 as expected. It jumps instead straight from -1 to 1.

I hope you will find this simple enough to reproduce, but let me know if anything is not clear.

Thanks,

Mike

Comments (2)

Posted 3 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Mike,

Thanks for reporting this.  The numeric edit boxes don't currently handle the conditional syntax with semi-colons when parsing a number out of the typed text.  We have updated our logic today to handle that scenario.  

Please write our support address and mention this thread if you'd like to test a preview build with the logic update.


Actipro Software Support

Posted 3 months ago by Mike PB
Avatar

Hi,

Thank you so much, I will do that.

Regards,

Mike

The latest build of this product (v2019.1 build 0684) was released 13 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.