Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Min/Max chars did not work for decimal property

SA-3757

Summary


Min/Max chars limitation isn't working for numeric input (Decimal) in pxTextInput.
This problem is experienced only when we add pyDecimalPrecision Property Qualifiers (It works as expected otherwise!).


Steps to Reproduce


1) Create decimal property m
aking sure to add ‘pyDecimalPrecision’ Property Qualifiers in advanced tab.
2) Add it to layout.
3) Set control to pxTextInput or pxNumber.
4) Specify in the control options Min/Max chars.
5) Try type number bigger than specified in Max char (e.g. Max chars = 6 and try to type in 1000000).

Expected result:
User cannot enter last (7th) symbol

Actual result:
User can specify any number.


Root Cause


The root cause of this problem is a defect in Pegasystems’ code/rules.
RULE-UTILITY-FUNCTION PZCONTROL PZGENERATECONTROL--(CLIPBOARDPAG958D4B4F290980CF271DE20E4A2E7F6E #20141119T145807.456 GMT/Pega-UIEngine:06


Resolution


This issue is resolved by hotfix item - 
HFix-10370.

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us