Code Fix: Unable to change the height of a View to an empty value
KB001907
PRODUCTK2 smartforms 4.7
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.
Issue Description
When configuring a height value for a View on a Form, attempting to clear the pixel value results in an error.
Error Message
The following error message is displayed “You have entered an invalid height. Only whole numbers and pixel values up to 32767px are supported.”
Cause
The validation pattern used to validate the user input did not cater for empty values.
Resolution
- Ensure you have K2 4.7 installed.
- Download and Install the K2 4.7 May 2017 Cumulative Update from K2 Partner and Customer Portal.
- Get the K2 4.7 May 2017 Cumulative Update FP2 from Regional Support.
- Install the K2 4.7 May 2017 Cumulative Update FP2 to apply the fix.