.. This reStructured text file has been automatically generated, do not change. .. Source: https://github.com/TYPO3/typo3/blob/main/typo3/sysext/fluid/Classes/ViewHelpers/Form/CountrySelectViewHelper.php :edit-on-github-link: https://github.com/TYPO3/typo3/edit/main/typo3/sysext/fluid/Classes/ViewHelpers/Form/CountrySelectViewHelper.php :navigation-title: form.countrySelect .. include:: /Includes.rst.txt .. _typo3-fluid-form-countryselect: ====================================================== Form.countrySelect ViewHelper `` ====================================================== Renders a :html:` .... Prioritize countries -------------------- Define a list of countries which should be listed as first options in the form element:: Additionally, Austria is pre-selected. Display another language ------------------------ A combination of optionLabelField and alternativeLanguage is possible. For instance, if you want to show the localized official names but not in your default language but in French. You can achieve this by using the following combination:: Bind an object -------------- You can also use the "property" attribute if you have bound an object to the form. See :ref:` ` for more documentation. .. _typo3-fluid-form-countryselect_source: Source code =========== Go to the source code of this ViewHelper: `CountrySelectViewHelper.php (GitHub) `__. .. _typo3-fluid-form-countryselect_arguments: Arguments ========= The following arguments are available for ``: .. contents:: :local: .. _typo3-fluid-form-countryselect-additionalattributes_argument: additionalAttributes -------------------- .. confval:: additionalAttributes :name: typo3-fluid-form-countryselect-additionalattributes :type: mixed :required: false Additional tag attributes. They will be added directly to the resulting HTML tag. .. _typo3-fluid-form-countryselect-data_argument: data ---- .. confval:: data :name: typo3-fluid-form-countryselect-data :type: mixed :required: false Additional data-* attributes. They will each be added with a "data-" prefix. .. _typo3-fluid-form-countryselect-aria_argument: aria ---- .. confval:: aria :name: typo3-fluid-form-countryselect-aria :type: mixed :required: false Additional aria-* attributes. They will each be added with a "aria-" prefix. .. _typo3-fluid-form-countryselect-name_argument: name ---- .. confval:: name :name: typo3-fluid-form-countryselect-name :type: string :required: false Name of input tag .. _typo3-fluid-form-countryselect-value_argument: value ----- .. confval:: value :name: typo3-fluid-form-countryselect-value :type: mixed :required: false Value of input tag .. _typo3-fluid-form-countryselect-property_argument: property -------- .. confval:: property :name: typo3-fluid-form-countryselect-property :type: string :required: false Name of Object Property. If used in conjunction with , the "name" property will be ignored, while "value" can be used to specify a default field value instead of the object property value. .. _typo3-fluid-form-countryselect-class_argument: class ----- .. confval:: class :name: typo3-fluid-form-countryselect-class :type: string :required: false CSS class(es) for this element .. _typo3-fluid-form-countryselect-dir_argument: dir --- .. confval:: dir :name: typo3-fluid-form-countryselect-dir :type: string :required: false Text direction for this HTML element. Allowed strings: "ltr" (left to right), "rtl" (right to left) .. _typo3-fluid-form-countryselect-id_argument: id -- .. confval:: id :name: typo3-fluid-form-countryselect-id :type: string :required: false Unique (in this file) identifier for this HTML element. .. _typo3-fluid-form-countryselect-lang_argument: lang ---- .. confval:: lang :name: typo3-fluid-form-countryselect-lang :type: string :required: false Language for this element. Use short names specified in RFC 1766 .. _typo3-fluid-form-countryselect-style_argument: style ----- .. confval:: style :name: typo3-fluid-form-countryselect-style :type: string :required: false Individual CSS styles for this element .. _typo3-fluid-form-countryselect-title_argument: title ----- .. confval:: title :name: typo3-fluid-form-countryselect-title :type: string :required: false Tooltip text of element .. _typo3-fluid-form-countryselect-accesskey_argument: accesskey --------- .. confval:: accesskey :name: typo3-fluid-form-countryselect-accesskey :type: string :required: false Keyboard shortcut to access this element .. _typo3-fluid-form-countryselect-tabindex_argument: tabindex -------- .. confval:: tabindex :name: typo3-fluid-form-countryselect-tabindex :type: integer :required: false Specifies the tab order of this element .. _typo3-fluid-form-countryselect-onclick_argument: onclick ------- .. confval:: onclick :name: typo3-fluid-form-countryselect-onclick :type: string :required: false JavaScript evaluated for the onclick event .. _typo3-fluid-form-countryselect-size_argument: size ---- .. confval:: size :name: typo3-fluid-form-countryselect-size :type: string :required: false Size of select field, a numeric value to show the amount of items to be visible at the same time - equivalent to HTML