0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00
Commit Graph

77 Commits

Author SHA1 Message Date
Mark Otto
bd904d70c9 lol my bad, fix that last one too 2016-05-08 15:31:53 -07:00
Mark Otto
b2dd8e1694 fix validation of dupe ids 2016-05-08 13:38:34 -07:00
Mark Otto
0a4d3155ab Fixes #18573: Change name of .form-control-label to .col-form-label (and .form-control-legend to .col-form-legend) to reiterate use for only grid layouts 2016-04-08 21:05:23 -05:00
Mark Otto
91627de4de fix up broke forms styles and docs example for the grid 2016-04-08 20:58:36 -05:00
Mark Otto
80144d74d7 Merge branch 'v4-dev' into v4-forms-cleanup 2016-04-08 20:55:19 -05:00
Patrick H. Lauke
c25556e918 Appropriate use of fieldset/div, legend, callout for hidden/no label alternatives 2016-02-19 15:51:59 +00:00
Mark Otto
0c46412a4c Merge branch 'v4-dev' into v4-custom-forms-validation 2016-02-13 17:55:23 -08:00
Mark Otto
4724110583 Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2016-02-13 17:54:40 -08:00
Chris Rebert
a1bf344c4f Merge pull request #18925 from twbs/fixes-18922
Make translation of custom file input text easier
2016-02-09 01:38:14 -08:00
Mark Otto
4972f87724 Update form validation docs
- Give some guidance on when someone might use any of the three
validation states. Fixes #18702.

- Improve the examples to provide examples of supporting validation
text with the new `.form-control-feedback`, as well as always-present
help text. Nullifies #18704.
2016-02-09 01:12:49 -08:00
Mark Otto
5744c58556 clarify help text class in docs 2016-02-09 01:10:55 -08:00
Mark Otto
371fbdb0e8 .text-help is dead, long live .form-control-feedback
Uses a new more specific class, adds some basic spacing, and clarifies
that this class is only for validation feedback.

Clears up the help text class question in
https://github.com/twbs/bootstrap/pull/18704#issuecomment-168241731 and
addresses the vertical spacing in #18703.
2016-02-09 01:10:05 -08:00
Mark Otto
af400363d2 Update grid docs for form layouts
- Add container to fix padding in mobile views
- Add large and small variations
- Cross link grid classes and mixins
- Fix up some words
2016-02-09 00:36:05 -08:00
Mark Otto
d7d32c475f clearer copy 2016-02-09 00:20:18 -08:00
Mark Otto
09aefaa2af Alternate fix to #17965: Updates to use the new class name and adds some basic docs for custom checkbox/radio validation 2016-02-08 23:21:32 -08:00
Chris Rebert
44eedd2115 docs/components/forms.md: Fix typo: non => none
Fixup for 365db6e3a8
/fyi @mdo
[skip sauce]
2016-02-07 17:50:38 -08:00
Mark Otto
365db6e3a8 clarify some docs for form validation including quick mention for customizing or disabling icons 2016-02-06 18:16:37 -08:00
cndpzc
6384789f95 Fix typo in forms.md
Closes #19049
2016-01-28 20:45:59 -08:00
Chris Rebert
aa62428cdf Add docs for custom file input's text and $custom-file-text
[skip sauce]
2016-01-26 13:19:19 -08:00
Raphael Ackermann
740ffb8ed4 typo: from controls --> form controls 2016-01-14 09:59:40 +01:00
Chris Rebert
3d5b340217 Add comprehensive .form-control example(/testcase) to docs
Put all the textual input types right next to each other for easy visual comparison.
Refs #17308, #18763

[skip sauce]
2016-01-06 15:57:19 -08:00
Chris Rebert
602b107edb Remove usages of and references to <input type="datetime">
It has been removed from the HTML specification: https://github.com/whatwg/html/issues/336
Only Presto Opera ever implemented a special UI for it.

[skip sauce]
2016-01-06 11:28:17 -08:00
Mark Otto
d8d67eaa6a rewrite custom file input component to use classes over nested elements 2016-01-05 23:45:44 -08:00
Mark Otto
8d66b9956c Change .c-select to .custom-select 2016-01-05 23:34:51 -08:00
Mark Otto
42a50e7d2c clarify docs 2016-01-05 23:28:26 -08:00
Mark Otto
ef3061d5f1 update forms docs
- add more details on custom checkboxes and radios for how we handle the states and how the css works
- create a disabled custom checkboxes and radios example
2016-01-05 23:26:36 -08:00
Patrick H. Lauke
e9ccb573ef Add aria-describedby to main form controls example 2015-12-24 10:11:33 +00:00
Patrick H. Lauke
0fe8f920b7 Docs: reintroduce aria-describedby advice for help text
Based on v3 http://getbootstrap.com/css/#forms-help-text, adapted to
make examples more "real life"
2015-12-24 10:08:29 +00:00
Chris Rebert
193b8306f0 Fix grammar in "Custom forms" docs
[ci skip]
2015-12-06 12:08:01 -08:00
Mark Otto
9e23bbc1bc fix broke markup 2015-11-14 19:46:03 -08:00
Mark Otto
f712e922d1 unfuck that class name change 2015-11-14 19:45:35 -08:00
Mark Otto
11dff583ce Merge pull request #18250 from twbs/v4-checkbox-markup
Checkbox validation markup (Take 2)
2015-11-14 19:40:08 -08:00
Chris Rebert
54a964ae19 s/error/danger/
[skip sauce]
2015-11-14 19:35:46 -08:00
Zac Echola
0462cd3d81 Simplifies markup for checkbox validation states 2015-11-14 19:26:13 -08:00
Chris Rebert
a180a3362a Move border-radius mixin from scss/_mixins.scss to scss/mixins/_border-radius.scss
Reunites the family.
Closes #17791
2015-10-08 08:56:13 -04:00
Liam Stanley
ed9a011a88 Remove random trailing less-than symbol 2015-10-01 00:05:07 -04:00
petetnt
c0b5aba3fc Rename placeholders according to the classes specified 2015-09-22 11:31:04 +03:00
Rolandas Barysas
99aadb92f8 v4 - fixed incorrect inline form class in docs 2015-09-10 10:46:26 +03:00
Zearin
8e29c43c46 Fix usage of “its” and “it’s” 2015-09-07 10:07:35 -04:00
vsn4ik
88d004f6e1 Remove dropped form-horizontal from forms.md 2015-09-03 07:48:15 +03:00
Andrew Smith
b424626e97 Update all usages of 'control-label' with 'form-control-label' in docs 2015-09-02 15:01:02 +10:00
Mark Otto
3221563228 Merge pull request #17359 from caleb/patch-1
Update static form control example
2015-09-01 20:23:35 -07:00
XhmikosR
8328344212 Use https when possible.
[ci skip]
2015-08-29 18:50:20 +03:00
Caleb Land
ec83b06d55 Update static form control example
Use the `row` class on the `form-group`, and change the `control-label` class to `form-control-label`
2015-08-26 23:47:50 -04:00
Chris Rebert
69f9240863 forms.md: Fix link to disabled buttons docs 2015-08-20 22:35:58 -07:00
Chris Rebert
0372cc656d forms.md: Fix rebooted form styles link 2015-08-20 22:23:19 -07:00
Heinrich Fenkart
66be25917a Docs: various fixes
Mostly links.
Fixes #17056.
2015-08-21 02:15:17 +02:00
Bram van Leur
7ec40d25cd v4: Fix Typo in Forms docs 2015-08-19 20:22:55 +02:00
Mark Otto
1ee84d4a1c help text tweaks 2015-08-18 19:36:01 -07:00
Mark Otto
a79e7db6bd document some help text examples to the docs 2015-08-18 19:30:22 -07:00