michael-hack / bulma-calendar

Bulma's extension to display a calendar
MIT License
286 stars 165 forks source link

clear 'x' icon not removed when showClearButton=false #330

Open dmoebius opened 1 year ago

dmoebius commented 1 year ago

Bug Report

Environment

Current Behavior setting option showClearButton only removes the button "Clear" inside the panel. But it does not remove the "x" icon, so the field is still clearable.

Possible Solution Inside src/js/templates/index.js the button class="datetimepicker-clear-button" is always shown. It must be dependent on the showClearButton flag.

FrancoisOfSos commented 1 year ago

+1