From 2ec1606ab7dc15883d0f0a924046e9dffdc7ba00 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 24 Nov 2017 14:29:59 -0800 Subject: Custom select updates (#24699) * Add support for size attribute on custom selects * Add large custom select, document it and the small variant * fix custom select focus state * fix custom file input focus styles * remove empty line --- docs/4.0/components/forms.md | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) (limited to 'docs') diff --git a/docs/4.0/components/forms.md b/docs/4.0/components/forms.md index 5b79626a2..eba9fc75f 100644 --- a/docs/4.0/components/forms.md +++ b/docs/4.0/components/forms.md @@ -1018,6 +1018,46 @@ Custom ` {% endexample %} +You may also choose from small and large custom selects to match our similarly sized text inputs. + +{% example html %} + + + +{% endexample %} + +The `multiple` attribute is also supported: + +{% example html %} + +{% endexample %} + +As is the `size` attribute: + +{% example html %} + +{% endexample %} + ### File browser The file input is the most gnarly of the bunch and require additional JavaScript if you'd like to hook them up with functional *Choose file...* and selected file name text. -- cgit v1.2.3