Versions Compared

Key

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

The URL Field allows you to display clickable text, like a button, which redirects you to the configured URL. 

UrlField

ParameterTypeDefaultRequiredDescription
suffix_linkUnion[str, None]-FalseSuffix link for the field.
prefix_linkUnion[str, None]-FalsePrefix link for the field.

_UrlFieldUI

ParameterTypeDefaultRequiredDescription
typeDynamicFieldTypeURLTrueType of the dynamic field.
linkUnion[str, None]-FalseURL link for the field.
targetUrlTargetUrlTarget.BLANKFalseTarget for the URL link.
use_ellipsesboolTrueFalseFlag to indicate whether to use ellipses.

Configuration Example

Code Block
languagepy
themeDJango
UrlField(field='data.title', link='data.url')