Skip to content

nonSelectedText is ignored when disableIfEmpty is true #714

@cwalv

Description

@cwalv

Using these options:

$el.multiselect({
    disableIfEmpty: true,
    disabledText: 'Loading ...',
    nonSelectedText: 'None Selected'
})

I would expect buttonText to be 'Loading ...' iff the multiselect is disabled, and nonSelectedText to be used if it's not disabled and no items are selected. Currently, if disabledText and disableIfEmpty are set, nonSelectedText is ignored.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions