From: Mark Otto Date: Wed, 6 Sep 2017 03:21:13 +0000 (-0700) Subject: Update form validation migration docs X-Git-Tag: v4.0.0-beta.2~270 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b1875d0802dc271a165862ae49c6bbb6a56986c;p=thirdparty%2Fbootstrap.git Update form validation migration docs --- diff --git a/docs/4.0/migration.md b/docs/4.0/migration.md index 25ad2d3084..6c1bf14fcc 100644 --- a/docs/4.0/migration.md +++ b/docs/4.0/migration.md @@ -120,8 +120,7 @@ New to Bootstrap 4 is the [Reboot]({{ site.baseurl }}/docs/{{ site.docs_version - Added new `.form-control-label` class to vertically center labels with `.form-control`s. - Added new `.form-row` for compact form layouts with the grid classes (swap your `.row` for a `.form-row` and go). - Added custom forms support (for checkboxes, radios, selects, and file inputs). -- Added HTML5 form validation support via CSS's `:invalid` and `:valid` pseudo-classes. -- Renamed `.has-error` to `.has-danger`. +- Replaced `.has-error`, `.has-warning`, and `.has-success` classes with HTML5 form validation via CSS's `:invalid` and `:valid` pseudo-classes. - Renamed `.form-control-static` to `.form-control-plaintext`. ### Buttons