the latest gdpr framework shows disabled custom consent type fields slug and title as well a javascript error.
<input type="text" name="gdpr_consent_types[0][slug]" class="gdpr_custom_consent_types" placeholder="Slug" pattern="^[A-Za-z0-9_-]+$" oninvalid="setCustomValidity('Please fill in this field using alphanumeric characters, dashes and underscores.')" oninput="setCustomValidity('')" required="" disabled="">
Uncaught TypeError: Cannot read property 'gdpr_consent_types' of undefined at HTMLDivElement.<anonymous> (gdpr-admin.js?ver=4.9.8:62) at Function.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-ui-but&load[]=ton,jquery-ui-position,jquery-ui-dialog,utils&ver=4.9.8:2) at a.fn.init.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-ui-but&load[]=ton,jquery-ui-position,jquery-ui-dialog,utils&ver=4.9.8:2) at HTMLDocument.<anonymous> (gdpr-admin.js?ver=4.9.8:57) at i (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-ui-but&load[]=ton,jquery-ui-position,jquery-ui-dialog,utils&ver=4.9.8:2) at Object.fireWith [as resolveWith] (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-ui-but&load[]=ton,jquery-ui-position,jquery-ui-dialog,utils&ver=4.9.8:2) at Function.ready (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-ui-but&load[]=ton,jquery-ui-position,jquery-ui-dialog,utils&ver=4.9.8:2) at HTMLDocument.K (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-ui-but&load[]=ton,jquery-ui-position,jquery-ui-dialog,utils&ver=4.9.8:2)
Thank you.
Best Regards
Aaren
Hi,
the latest gdpr framework shows disabled custom consent type fields slug and title as well a javascript error.
<input type="text" name="gdpr_consent_types[0][slug]" class="gdpr_custom_consent_types" placeholder="Slug" pattern="^[A-Za-z0-9_-]+$" oninvalid="setCustomValidity('Please fill in this field using alphanumeric characters, dashes and underscores.')" oninput="setCustomValidity('')" required="" disabled="">
Uncaught TypeError: Cannot read property 'gdpr_consent_types' of undefined at HTMLDivElement.<anonymous> (gdpr-admin.js?ver=4.9.8:62) at Function.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-ui-but&load[]=ton,jquery-ui-position,jquery-ui-dialog,utils&ver=4.9.8:2) at a.fn.init.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-ui-but&load[]=ton,jquery-ui-position,jquery-ui-dialog,utils&ver=4.9.8:2) at HTMLDocument.<anonymous> (gdpr-admin.js?ver=4.9.8:57) at i (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-ui-but&load[]=ton,jquery-ui-position,jquery-ui-dialog,utils&ver=4.9.8:2) at Object.fireWith [as resolveWith] (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-ui-but&load[]=ton,jquery-ui-position,jquery-ui-dialog,utils&ver=4.9.8:2) at Function.ready (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-ui-but&load[]=ton,jquery-ui-position,jquery-ui-dialog,utils&ver=4.9.8:2) at HTMLDocument.K (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-ui-but&load[]=ton,jquery-ui-position,jquery-ui-dialog,utils&ver=4.9.8:2)
Thank you. Best Regards Aaren