App Studio

Version 4.1
How To
Documentation
    Learn More

      content:input

      Description

      Creates a textbox

      Usage

      as element:
      <content:input
             label="{string}"
             field="{string}"
             [required]
             [value="{string}"]
             [hidden="{boolean}"]
             [placeholder="{string}"]>
      </content:input>

      Parameters

      ParamTypeDetails
      labelstring

      The label for the textbox

      fieldstring

      The name of the field.

      required
      (optional)
      boolean

      Whether the field is required not, if it is a warning will be displayed until the field is value. Default:false.

      value
      (optional)
      string

      Value to display in the textbox.

      hidden
      (optional)
      boolean

      Whether the textbox should be displayed.

      placeholder
      (optional)
      string

      The placeholder for the textbox, if no placeholder is defined the label will be used as the placeholder.

      Example

      Source

      
      
      

      Demo