Skip to content

Inconsistent background color when custom select is invalid #28114

Description

@fgb4101
  • Bootstrap 4.2.1.
  • Operating system and version: Windows 10 (1809).
  • Browser and version: Chrome 71, Firefox 64.

When applying the class 'is-invalid' to an input or a select tag, the 'background-color' is not consistent.

The first example shows the native styles.
https://jsbin.com/xocuwivocu/1/edit?html,css,output

form1

The second example shows the same but with the fix I used.
https://jsbin.com/soxurazula/1/edit?html,css,output

form2

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions