Open thiago-negri opened 7 years ago
Function setHtmlAttributes , defined as follows:
setHtmlAttributes
setHtmlAttributes: function () { 'use strict'; var formField = this.element.find(this.formType); if (this.html_attrs) { var attrs = this.html_attrs; $.each(attrs, function (key, val) { formField.attr(key, val); }); } },
Is unable to set attributes for date input type, as this.formType == 'date', so this.element.find('date') will return a zero-length jQuery selection.
this.formType == 'date'
this.element.find('date')
Function
setHtmlAttributes
, defined as follows:Is unable to set attributes for date input type, as
this.formType == 'date'
, sothis.element.find('date')
will return a zero-length jQuery selection.