Skip to content

No initial selected state of a html select while there is an option with a 'selected' attribute (since the 1.0.27 update) #3770

@nickgr6

Description

@nickgr6

Vue.js version

1.0.27

Reproduction Link

https://jsfiddle.net/eLf31dac/1/

Steps to reproduce

Simply open the fiddle. You see an empty value select.
When looking in the dev tools, the source is:
<option value="/app/en/products/overview/canada" selected> Canada </option>
which is correct?

What is Expected?

Default selected state should be 'Canada' due to the 'active=true' property.
This is the actual behaviour with VueJS 1.0.26: https://jsfiddle.net/c8999or7/1/

What is actually happening?

There's no initial 'selected' state of the select option

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions