This PR fixes the datepicker input element always being disabled regardless of the disabled input attribute. This is caused by passing a boolean for the disabled attribute to the host input element, which will be implicitly converted to the strings "true" or "false", dependently on the boolean value, however, according to the HTML5 standard, boolean attributes with false values must be left out completely (and true values can be either an empty string or the attribute name itself).
This PR fixes the datepicker input element always being disabled regardless of the
disabled
input attribute. This is caused by passing a boolean for the disabled attribute to the host input element, which will be implicitly converted to the strings"true"
or"false"
, dependently on the boolean value, however, according to the HTML5 standard, boolean attributes with false values must be left out completely (and true values can be either an empty string or the attribute name itself).