A platform for community discussion. Free, open, simple.
UX: remove unsupported filterable attr from form template sample (#23535)
Renato Atilio40ae6432f3c7
diff --git a/app/assets/javascripts/admin/addon/lib/template-form-fields.js b/app/assets/javascripts/admin/addon/lib/template-form-fields.jsindex f152a751d6a..de092acc8c0 100644--- a/app/assets/javascripts/admin/addon/lib/template-form-fields.js+++ b/app/assets/javascripts/admin/addon/lib/template-form-fields.js@@ -47,7 +47,6 @@ export const templateFormFields = ["admin.form_templates.field_placeholders.none_label")}"label: "${I18n.t("admin.form_templates.field_placeholders.label")}"- filterable: falsevalidations:# ${I18n.t("admin.form_templates.field_placeholders.validations")}`,},diff --git a/spec/system/admin_customize_form_templates_spec.rb b/spec/system/admin_customize_form_templates_spec.rbindex d7ed0909dac..f8b1d449ca9 100644--- a/spec/system/admin_customize_form_templates_spec.rb+++ b/spec/system/admin_customize_form_templates_spec.rb@@ -178,7 +178,6 @@ describe "Admin Customize Form Templates", type: :system doattributes:none_label: "Select an item"label: "Enter label here"- filterable: falsevalidations:# enter validations here',)