Skip to content

Triggering "chosen:updated" removes placeholder #2638

Open
@yairEO

Description

@yairEO

version 1.6.1

The solution is editing this method (in jQuery plugin):

Chosen.prototype.results_build

Add this - this.single_set_selected_text();
somehwere after this.update_results_content(.. is called

and it will force the plugin to print the default placeholder instead of choosing the first option (which is very much not intended, because why would I have placeholder if not to show it)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions