tType($("#objectCreateModalTarget [name=type]").first());
    removeHighlight();
    var attachemntLabelElement = $(
        "#objectCreateModalTarget [for=id_attachment]"
    );
    var attachemntlElement = $("#objectCreateModalTarget #id_attachment");
    var attachemntParentlElement = $(
        "#objectCreateModalTarget [for=id_attachment]"
    ).parent();

    // Detach both elements from the DOM
    attachemntLabelElement.detach();
    attachemntlElement.detach();
    attachemntParentlElement.html("")