]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Fix #1681
authorJeremy Thomas <bbxdesign@gmail.com>
Wed, 31 Oct 2018 18:48:13 +0000 (18:48 +0000)
committerJeremy Thomas <bbxdesign@gmail.com>
Wed, 31 Oct 2018 18:48:13 +0000 (18:48 +0000)
docs/documentation/form/general.html

index d107dacfb762e31836d3ef52612c9daf9abd5048..bc64401f5bdee696f0dfc542a663223d639db31e 100644 (file)
@@ -800,6 +800,12 @@ variables_keys:
 </div>
 {% endcapture %}
 
+{% capture disabled_fields_example %}
+<fieldset disabled>
+  {{ fields_example }}
+</fieldset>
+{% endcapture %}
+
 <div class="content">
   <p>The following form controls <strong>classes</strong> are supported:</p>
   <ul>
@@ -1033,6 +1039,19 @@ variables_keys:
   Form elements can be <strong>customized</strong> using the following generic variables. Simply set one or multiple of these variables <em>before</em> importing Bulma. <a href="{{ site.url }}/documentation/overview/customize/">Learn how</a>.
 {% endcapture %}
 
+{% include elements/anchor.html name="Disabled form" %}
+
+{% include elements/new-tag.html version="0.7.3" %}
+
+
+<div class="content">
+  <p>
+    You can disable part or a whole form by wrapping a set of controls in a <strong>fieldset</strong> with a <code>disabled</code> HTML attribute.
+  </p>
+</div>
+
+{% include elements/snippet.html content=disabled_fields_example %}
+
 {% include elements/variables.html
   type='element'
   variables_keys=page.variables_control_keys