dokuwiki-plugin-data
dokuwiki-plugin-data copied to clipboard
First item selected by default in multiselect when using Bureaucracy plugin form
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 :)