Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Text Field is the most basic field of the Dynamic Fields, it's meant to display plain text as it comes. It has an embedded email detection code that allows you to display emails with a different format in the UI.

TextField

ParameterTypeDefaultRequiredDescription
email_regexPatternSee info tipFalseRegular expression pattern for email validation (Excluded from documentation).
detect_emailboolFalseFalseFlag to indicate if email detection is enabled (Excluded from documentation).
joinstr', 'FalseJoining characters for email addresses.

...

ParameterTypeDefaultRequiredDescription
typeDynamicFieldTypeTEXTTrueType of the dynamic field.
is_emailboolFalseFalseFlag to indicate if the field is an email.
use_ellipsesboolTrueFalseFlag to indicate whether to use ellipses.

Configuration Example

Code Block
languagepy
themeDJango
TextField(Label='Email', field='data.user.email', detect_email=True, use_ellipses=False)