Skip to content
Discussion options

You must be logged in to vote

Hello/Hallo,

in the SDK export for the default displayType TEXTAREA the threshold is 30, so anything with max length > 30 is put as a TEXTAREA.
You can let your own application decide which one to use based on the "maxLength" of a field defined in the SDK fields.json.
Also consider using special inputs for various cases, for example if a field is of type "url", a horizontally longer input could make sense so that the end of the url is visible.
Note that the notion of TEXT and TEXTAREA is not fully tied to the way HTML works, as your application could also be a mobile app or something else.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rouschr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
fields Related to field metadata (/fields/fields.json) notice-types Related to the notice type definitions (/notice-types).
1 participant