frontello-ui-datepicker
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -270,3 +270,8 @@ "use strict"; | ||
this.fieldLabel.value = ''; | ||
this.fieldLabel.name = this.fieldLabel.name + '-label'; | ||
let fieldArrayName = this.fieldLabel.name.indexOf('['); | ||
if (fieldArrayName != -1) { | ||
this.fieldLabel.name = this.fieldLabel.name.substring(0, fieldArrayName) + '-label' + this.fieldLabel.name.substring(fieldArrayName); | ||
} else { | ||
this.fieldLabel.name = this.fieldLabel.name + '-label'; | ||
} | ||
this.fieldLabel.type = 'text'; | ||
@@ -273,0 +278,0 @@ this.fieldLabel.readOnly = true; |
{ | ||
"name": "frontello-ui-datepicker", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "UI datepicker", | ||
@@ -5,0 +5,0 @@ "main": "datepicker.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16301
494