Disable or remove a button?
fdesvallees opened this issue · comments
François Desvallées commented
Hello, this works very well. Is it possible to disable the "add all" button, or remove it completely?
thanks
François
Jorik Kraaikamp commented
For now the option is not there. But this is a good enhancement.
Also feel free to make a pull request.
Rick McKay commented
Quick fix: To remove a button, all you need to do is set the button's css property to display:none.
Example using jQuery:
$('.dual-listbox__button:nth-child(2)').hide()
CSS Style Sheet:
<style> .dual-listbox__button: nth-child(2) { display:none; } </style>
Renwar commented
dualListbox.add_all_button.remove()