Int32EditBox character length seems limited by Maximum, causes problem for negatives

Editors for WPF Forum

Posted 7 years ago by Greg Shaffer
Version: 12.1.0562
Avatar

Hi,

I have an Int32EditBox with these settings:

PartValueCommitTriggers="All"
Minimum="-15"
Maximum="15"

And the Value is DataBound to a ViewModel property with ValidatesOnDataErrors=True

When the user tries to enter any value -10 -> -15, the user is restricted to two characters of entry, which means that only "-1" can be entered.

However, when I change the Maximum to a 3 character value, I am then allowed to enter a three character negative value.  But... of course, I don't want a 3 character Maximum.  So, it appears that the allowed number of characters is tied to the Maximum's character length.

Is there something else I need to do?

Thanks,

Greg

Comments (2)

Answer - Posted 7 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Greg,

Thanks for writing.  I believe that is a bug we already have fixed for the 2012.2 version that came out over the weekend.

[Modified 7 years ago]


Actipro Software Support

Posted 7 years ago by Greg Shaffer
Avatar

Yes, it's fixed.  Works great.

Thanks,

Greg

The latest build of this product (v2019.1 build 0683) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.