UX: sets correct placeholder for custom fields

UX: sets correct placeholder for custom fields

diff --git a/assets/javascripts/discourse/templates/modal/discourse-post-event-builder.hbs b/assets/javascripts/discourse/templates/modal/discourse-post-event-builder.hbs
index 69ecfd2..667ecd4 100644
--- a/assets/javascripts/discourse/templates/modal/discourse-post-event-builder.hbs
+++ b/assets/javascripts/discourse/templates/modal/discourse-post-event-builder.hbs
@@ -146,7 +146,7 @@
             {{input
               class="custom-field-input"
               value=(readonly (get model.eventModel.custom_fields allowedCustomField))
-              placeholderKey="discourse_post_event.builder_modal.name.placeholder"
+              placeholderKey="discourse_post_event.builder_modal.custom_fields.placeholder"
               input=(action "onChangeCustomField" allowedCustomField)
             }}
           {{/each}}
diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml
index 9038872..b5c7d35 100644
--- a/config/locales/client.en.yml
+++ b/config/locales/client.en.yml
@@ -333,6 +333,7 @@ en:
       builder_modal:
         custom_fields:
           label: Custom Fields
+          placeholder: Optional
           description: Allowed custom fields are defined in site settings. Custom fields are used to transmit data to other plugins.
         create_event_title: Create Event
         update_event_title: Edit Event

GitHub sha: 634d1f6b

1 Like