Jump to content

Pages - Tags in Form template


adcantu

Recommended Posts

I want to hide the tags input on the recordForm. I'd still like to be able to add tags from the record view. I just can't find how to do this within the template. I tried to resort to simply hiding it with CSS, but I can't get the label to hide. Following css hides the +choose but not the label.

[data-controller='core.global.core.optionalAutocomplete'] {
  display:none;
}
label[for="content_record_form_tags"] {
  display:none;
}

EDIT: I ended up just using javascript

$(document).ready(function(){
    $("label[for='content_record_form_tags']").parent('li').hide();
});

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...