dokuwiki-plugin-data icon indicating copy to clipboard operation
dokuwiki-plugin-data copied to clipboard

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

Open apprentiLAB-Suzanne opened this issue 2 years ago • 0 comments

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 :)

apprentiLAB-Suzanne avatar Mar 28 '22 13:03 apprentiLAB-Suzanne