Skip to content

Feature to default select options  #39

@arvindvyas

Description

@arvindvyas

this is patch


   <%= f.input :test_country, label: "Country", collection: CountryStateSelect.countries_collection, selected:CountryStateSelect.countries_collection[229] %>

    <%= f.input :test_state, collection: CS.states(:us).values, selected: CS.states(:us)[:FL] %>

Looking for method which we can set by chosen itself

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions