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

    1024px
    375px768px1400px

    Disabled

    1024px
    375px768px1400px

    Properties

    FormSelect

    PropertyTypeRequiredDefault
    nameStringtrue-
    disabledBoolfalse-
    onChangeFuncfalse-
    requiredBoolfalse-
    utilClassNamesStringfalse-

    FormSelect.Option

    PropertyTypeRequiredDefault
    valueStringtrue-
    disabledBoolfalse-
    childrenStringfalse-