Skip to content

Set default initialization options #2499

Open
@RinkAttendant6

Description

@RinkAttendant6

In DataTables, there is an option to extend the $.fn.dataTable.defaults object so that the property values are used by default upon initialization.

Is there a similar functionality in Chosen? I've inspected jQuery.fn.chosen but there does not appear to be anything.

It would be nice to set the three placeholder strings (among other options, perhaps) in some sort of initialization/bootstrapper file instead of doing jQuery.extend in all the places that I instantiate Chosen.

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