diff --git a/source/components/form/toggle-switch.mjs b/source/components/form/toggle-switch.mjs index 19118e2554ebe1dd78c32e333bfbb87ad2aa3f41..7839a13b09d8834590894557cb6c61bc70afa3d1 100644 --- a/source/components/form/toggle-switch.mjs +++ b/source/components/form/toggle-switch.mjs @@ -74,18 +74,18 @@ class ToggleSwitch extends CustomControl { * The individual configuration values can be found in the table. * * @property {string} value=current value of the element - * @property {Boolean} disabled=disabled=false Disabled state + * @property {Boolean} disabled Disabled state * @property {Object} classes - * @property {string} classes.on=specifies the class for the on state. - * @property {string} classes.off=specifies the class for the off state. + * @property {string} classes.on specifies the class for the on state. + * @property {string} classes.off specifies the class for the off state. * @property {Object} values - * @property {string} values.off=specifies the value of the element if it is not selected + * @property {string} values.off specifies the value of the element if it is not selected * @property {Object} labels - * @property {string} labels.on=specifies the label for the on state. - * @property {string} labels.off=specifies the label for the off state. + * @property {string} labels.on specifies the label for the on state. + * @property {string} labels.off specifies the label for the off state. * @property {string} actions - * @property {string} actions.on=specifies the action for the on state. - * @property {string} actions.off=specifies the action for the off state. + * @property {string} actions.on specifies the action for the on state. + * @property {string} actions.off specifies the action for the off state. * @property {Object} templates * @property {string} templates.main the main template used by the control. */ @@ -104,8 +104,8 @@ class ToggleSwitch extends CustomControl { off: "off", }, labels: { - toggleSwitchOn: "✔", - toggleSwitchOff: "✖", + toggleSwitchOn: "✔��", + toggleSwitchOff: "×", }, templates: { main: getTemplate(),