TextFieldType
¶
Source code in docs_src/capo_partnercentral_marketing/types/text_field_type.py
pattern
instance-attribute
¶
pattern: NotRequired[TemplateFieldPattern]
Regular expression the value must match — used for URL, email, phone and hex-colour fields.
placeholder
instance-attribute
¶
placeholder: NotRequired[AssetBodyContent]
Example text shown where the field is empty in a preview of the asset. Never the asset's value: it is not set on the asset at create, does not fill a required field, and is never published.