An invalid form control with name=” is not focusable

When CKEditor is added to the Django form the following error may be issued.

The easiest solution is to add novalidate key in the form

{% block content %}
    <h2>{% if form.instance.pk %}Edit{% else %}Create{% endif %} Note</h2>
    <form method="post" novalidate>
        {% csrf_token %}
        <div class="mb-3">

Reference

https://stackoverflow.com/questions/22148080/an-invalid-form-control-with-name-is-not-focusable

Leave a Reply

Your email address will not be published. Required fields are marked *