close

Filter

loading table of contents...

Studio Developer Manual / Version 2512.0

Table Of Contents

9.22 Configuring Maximum Length for TextFields

When saving content, certain server-side limitations, such as restrictions in data storage or database structure, may affect the save operation. These limitations can result in client-side errors and may cause data loss during the saving process.

To prevent such issues, the length of input fields (StatefulTextField and StatefulTextArea) on the client side can be limited by configuring a maximum length. When the field is focused, both the defined maximum length and the current input length are displayed.

Note: this feature must be enabled manually for each input field by setting the corresponding properties:

PropertyDescription
showCharacterCounter Whether to display a counter for the default or manually set character limit on the text field.
characterLimit A manual character limit for the text field child. If set, editors will not be able to insert more characters.

Table 9.6. Character Limit Properties


The character counter can also be configured on StringPropertyFields directly. It considers the Length defined for the corresponding StringProperty in the blueprint-doctypes.xml file as the default, which can be overridden by setting the characterLimit property.

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.