From 40ae6432f3c7fe430b85dcc64036055daea790d8 Mon Sep 17 00:00:00 2001
From: Renato Atilio <renato@discourse.org>
Date: Tue, 12 Sep 2023 12:20:55 -0300
Subject: [PATCH] UX: remove unsupported filterable attr from form template
 sample (#23535)

---
 app/assets/javascripts/admin/addon/lib/template-form-fields.js | 1 -
 spec/system/admin_customize_form_templates_spec.rb             | 1 -
 2 files changed, 2 deletions(-)

diff --git a/app/assets/javascripts/admin/addon/lib/template-form-fields.js b/app/assets/javascripts/admin/addon/lib/template-form-fields.js
index 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: false
   validations:
     # ${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.rb
index 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 do
   attributes:
     none_label: "Select an item"
     label: "Enter label here"
-    filterable: false
   validations:
     # enter validations here',
       )