Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Merge requests
  • !26471

ability to generate warning form state

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/wojtask9/form-state into v4-dev May 09, 2018
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: wojtask9

Currently there is no way to generate warning state for form inputs because css rules with state other than valid and invalid is dropped by browsers.

With this PR we are able to generate other states than valid and invalid for example

@include form-validation-state("warning", $warning);

or

@include form-validation-state("info", $info);

Edit: This is useful if we want Server Side validation

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/wojtask9/form-state