Fix legacy options not being read for some widgets

This commit is contained in:
nathangray
2020-03-30 10:28:48 -06:00
parent c937f50193
commit 1da1cb7b99
42 changed files with 320 additions and 323 deletions

View File

@ -72,7 +72,7 @@ class et2_checkbox extends et2_inputWidget
}
};
legacyOptions : string[] = ["selected_value", "unselected_value", "ro_true", "ro_false"];
public static readonly legacyOptions : string[] = ["selected_value", "unselected_value", "ro_true", "ro_false"];
input : JQuery = null;
toggle : JQuery = null;
value : string | boolean;