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.
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
thebutton class="datetimepicker-clear-button"
is always shown. It must be dependent on the showClearButton flag.