diff --git a/app/views/content/form/field_types/_tags.html.erb b/app/views/content/form/field_types/_tags.html.erb index a8f4908d..9ce57343 100644 --- a/app/views/content/form/field_types/_tags.html.erb +++ b/app/views/content/form/field_types/_tags.html.erb @@ -87,9 +87,6 @@ const tag_delimiter = '<%= PageTag::SUBMISSION_DELIMITER %>'; const hidden_field = $('#<%= field_uuid %>'); - console.log('updating tags to '); - console.log(tags.join(tag_delimiter)); - // Update our selected tags hidden_field.val(tags.join(tag_delimiter)); @@ -117,10 +114,10 @@ }, fireTagsUpdateEvent() { update_hidden_page_tag_value(this.tags); - this.$el.dispatchEvent(new CustomEvent('tags-update', { - detail: { tags: this.tags }, - bubbles: true, - })); + // this.$el.dispatchEvent(new CustomEvent('tags-update', { + // detail: { tags: this.tags }, + // bubbles: true, + // })); }, hasTag(tag) { var tag = this.tags.find(e => { diff --git a/app/views/content/tailwind_components/fields/_tags.html.erb b/app/views/content/tailwind_components/fields/_tags.html.erb index f8744651..2fc5bfd5 100644 --- a/app/views/content/tailwind_components/fields/_tags.html.erb +++ b/app/views/content/tailwind_components/fields/_tags.html.erb @@ -1,7 +1,7 @@ <% field[:value].each do |tag| %> - + <%= tag %> -