Closed adam-clarey closed 8 years ago
I also added a form.settingsOverride flag to be used in hook_form_render__field_settings__[fieldname]
If you add
form.settingsOverride = true;
To the hook above, it will prevent the system from automatically adding
form.form.push("settings");
I needed this as in my hook I was added the settings to 'form' array as an object, such as:
data.form.push({ "key": "settings." + schema, "htmlClass" : "choose-fields " + extraClass });
Overriding 'form.form.push("settings");' means the fields wont be added twice.
I also added a 'regex' operator the entity queries so now you can do more complex searching.
I also added a form.settingsOverride flag to be used in hook_form_render__field_settings__[fieldname]
If you add
To the hook above, it will prevent the system from automatically adding
I needed this as in my hook I was added the settings to 'form' array as an object, such as:
Overriding 'form.form.push("settings");' means the fields wont be added twice.
I also added a 'regex' operator the entity queries so now you can do more complex searching.