Skip to content

fieldSelect.vue - noneSelected is not visible, required is not set #340

Closed
@zoul0813

Description

@zoul0813

The "none selected" option is not "selected" by default, so the drop down appears empty.

Here's a JSFiddle, https://jsfiddle.net/zoul0813/ooncsad3/

The expectation is for the "Select One" text to appear in the dropdown if the user has not modified the dropdown value yet, the same way the "placeholder" attribute on input elements work. :selected="value == undefined" appears to not be working ... even though value is undefined.

fieldSelect.vue also does not set the "required" attribute on the select when schema.required is true.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions