10000 defaultSelected not working · Issue #32 · Mobius1/Selectr · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Dec 7, 2021. It is now read-only.
This repository was archived by the owner on Dec 7, 2021. It is now read-only.
defaultSelected not working #32
Closed
Closed
@jcsjcs

Description

@jcsjcs

Thank you for your very useful library.

When I have:

<select name="label[px_per_mm]" id="label_px_per_mm">
  <option value="8">Low Def</option>
  <option value="12">High Def</option>
</select>

And run this:

new Selectr('#label_px_per_mm', {defaultSelected: true})

The first option (8/Low Def) is not selected as I would expect (and as per the standard select behaviour).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0