Skip to content

First item selected by default in multiselect when using Bureaucracy plugin form #227

@Su24nn3

Description

@Su24nn3

Hi,

first of all thanks a lot for all the good work on this plugin.

I was a bit annoyed by the behavior of data_aliastextbox field in bureaucracy plugin, because the first item was selected by default. I found this inconvenient for users that didn't know how to deselect it, and wanted to leave the field empty.

I did a local fix, in file helper/aliastextbox.php, line 103, which I commented :
//$params['value'] = $params['args'][0];

I guess there is a cleaner way to get rid of this behavior, but if anyone is interested at least here is how to make it unselected.

Thank you :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions