Skip to content

disabled searchable dropdown shows "Type to search..." where the field is disabled #11398

@sunnysideup

Description

@sunnysideup

Module version(s) affected

5-x.dev

Description

For a disabled dropdown that contains enough records to be "searchable", the field shows Type to search ... where you clearly can not search:

image

How to reproduce

As above. Basically create a dropdown for a list with MANY entries and the above will happen.

Possible Solution

When setting to readonly (setReadonly method), we should remove that phrase. We should also check if the search is not longer available as this would be a security risk (i.e. you can search all members, where the intention may have been to not show all the members by making it readonly).

Additional Context

No response

Validations

PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions