Skip to content

why is is-valid added to form fields by default? #276

Description

@timrichardson

I change to bootstrap4 from bootstrap3. I have a filter form on top of a table, rendered with

{% if filter %}
    <form action="" method="get" class="form form-inline">
        {% bootstrap_form filter.form layout='inline' %}
        {% bootstrap_button 'filter' %}
    </form>
{% endif %}

The field is rendered as

<input .... class="form-control is-valid"...>

the is-valid class means my field gets a big green tick even on the first page load (before submit)
Bootstrap3 didn't do this decoration.
I realise I can prevent is-valid via settings for the BOOTSTRAP4 app, but why is this the default?

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions