.. include:: /Includes.rst.txt .. _typo3-fluid-form-select: ======================================== form.select ViewHelper `` ======================================== This ViewHelper generates a :html:` site attribute .. _form.select_disabled: disabled -------- :aspect:`DataType` string :aspect:`Required` false :aspect:`Description` Specifies that the input element should be disabled when the page loads .. _form.select_options: options ------- :aspect:`DataType` mixed :aspect:`Required` false :aspect:`Description` Associative array with internal IDs as key, and the values are displayed in the select box. Can be combined with or replaced by child f:form.select.* nodes. .. _form.select_optionsaftercontent: optionsAfterContent ------------------- :aspect:`DataType` boolean :aspect:`Required` false :aspect:`Description` If true, places auto-generated option tags after those rendered in the tag content. If false, automatic options come first. .. _form.select_optionvaluefield: optionValueField ---------------- :aspect:`DataType` string :aspect:`Required` false :aspect:`Description` If specified, will call the appropriate getter on each object to determine the value. .. _form.select_optionlabelfield: optionLabelField ---------------- :aspect:`DataType` string :aspect:`Required` false :aspect:`Description` If specified, will call the appropriate getter on each object to determine the label. .. _form.select_sortbyoptionlabel: sortByOptionLabel ----------------- :aspect:`DataType` boolean :aspect:`Required` false :aspect:`Description` If true, List will be sorted by label. .. _form.select_selectallbydefault: selectAllByDefault ------------------ :aspect:`DataType` boolean :aspect:`Required` false :aspect:`Description` If specified options are selected if none was set before. .. _form.select_errorclass: errorClass ---------- :aspect:`DataType` string :aspect:`Default` 'f3-form-error' :aspect:`Required` false :aspect:`Description` CSS class to set if there are errors for this ViewHelper .. _form.select_prependoptionlabel: prependOptionLabel ------------------ :aspect:`DataType` string :aspect:`Required` false :aspect:`Description` If specified, will provide an option at first position with the specified label. .. _form.select_prependoptionvalue: prependOptionValue ------------------ :aspect:`DataType` string :aspect:`Required` false :aspect:`Description` If specified, will provide an option at first position with the specified value. .. _form.select_multiple: multiple -------- :aspect:`DataType` boolean :aspect:`Required` false :aspect:`Description` If set multiple options may be selected. .. _form.select_required: required -------- :aspect:`DataType` boolean :aspect:`Required` false :aspect:`Description` If set no empty value is allowed.