Skip to content

"required" config flag not respected for non searchable variants. #205

Description

@Confidenceman02

I would expect the following:

                    (Select.single (Maybe.map actionTypeToItem maybeSelected)
                        |> Select.state selectState
                        |> Select.placeholder "Select action type"
                        |> Select.setStyles SelectStyles.base
                        |> Select.menuItems (List.map actionTypeToItem actionTypes)
                        |> Select.name resolvedName
                        |> Select.required True
                        |> Select.searchable False
                    )

To behave like a required field in a form.

The required flags sadly are not placed on the dummy input when searchable is False.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions