Form Select

    Overview

    When to use

    The select element could be used if a single option of a data set should be selected and validated.

    When to consider an alternative

    If, there are more than 10 options, but the input doesn’t have to be validated, an open text form will often be simpler than a select field.


    Component

    Default

    Disabled


    Properties

    FormSelect

    PropertyTypeRequiredDefault
    nameStringtrue-
    disabledBoolfalse-
    onChangeFuncfalse-
    requiredBoolfalse-
    utilClassNamesStringfalse-
    childrenNodefalse-

    FormSelect.Option

    PropertyTypeRequiredDefault
    valueStringtrue-
    disabledBoolfalse-
    childrenNodefalse-