Input parameters options ======================== Each entry in the YAML parameters file can be customized in order to simplify the user intercation with the UI. .. figure:: img/tosca_pars_render_explained.png :scale: 30% :align: center The Laniakea dashboard supports the following options. ---------------- ``display_name`` ---------------- :Description: The name that will be displayed in the form. :Example: :: input_name: value display_name: ... ------------ ``tag_type`` ------------ :Description: Set the tag to be used in the form to generate dropdown menu, radio button... Currently, the following tags are available: text, hidden, email, password, select, radio, ssh_pub_key_type. More on the available tag types can be found in the section: :doc:`parameters_tags`. :Example: :: input_name: value display_name: tag_type: ... --------------- ``description`` --------------- :Description: Override the descripion present in the tosca template input field. :Example: :: input_name: value display_name: tag_type: description: ... --------------- ``placeholder`` --------------- :Description: The placeholder attribute specifies a short hint that describes the expected value of an input field/text area. It is available for the following tag_types: ``text``, ``email``, ``password``, ``ssh_pub_key_type``. :Example: :: input_name: value display_name: tag_type: description: placeholder: ... --------------- ``constraints`` --------------- :Description: The constraint option is used to define the possible options to choose from. For instance, for ``select`` tag type it is possible to specify the selectable values. It is possible to configure a value attribute, which is the value assigned to the input after the selection, and a label attribute to display. :Example: :: input_name: value display_name: tag_type: description: constraints: - { value: "", label: "" } - { value: "", label: "" } - { value: "", label: "" } ... ... ------------ ``required`` ------------ :Description: When present it specifies that the input field must be mandatorly filled out before submitting the form. :Example: :: input_name: value display_name: tag_type: description: constraints: - { value: "", label: "" } - { value: "", label: "" } - { value: "", label: "" } ... required: ------- ``tab`` ------- :Description: The tab where the input must be shown. :Example: :: input_name: value display_name: tag_type: description: constraints: - { value: "", label: "" } - { value: "", label: "" } - { value: "", label: "" } ... required: tab: