Skip to main content
Version: 0.4.x

TextParameterOption

The class for parameter options of date parameters. Note that only one option can appear at a time, but different options may appear based on authenticated user or parent parameter selections. See ParameterOption page for more details on the common constructor arguments.

Can be found in the classpath squirrels.parameter_options.TextParameterOption or squirrels.TextParameterOption.

Constructor​

Creates a TextParameterOption object.

Optional Keyword Arguments:

  • default_text: A string for the default text value. Default is empty string
  • user_groups (see ParameterOption)
  • parent_options_ids (see ParameterOption)