I have a SharePoint 2013 taxonomy field in my site called "Status" and I want to disable it in the new form of the list. Here is what I have done.
var controlHondaStatus = getManagedMetadataField("Status");
controlHondaStatus.children().attr("disabled", "disabled");
function getManagedMetadataField(internalName) {
var field = findFieldByInternalName(internalName);
field.Control = field.find("div.ms-taxonomy-fieldeditor");
field.Value = field.Control.find("span.valid-text").text();
return field;
}
But with that implementation the text box of the taxonomy field gets disabled but I can still click the pick list and change the value.
Is there a way to disable that pick list, too?