Permalink
Browse files

Docs: Added "disabled" to the text and search input options page.

  • Loading branch information...
1 parent 1f2d190 commit 6947b1c10c3f6a2983e7b4242b2e80c0bf46ab10 @jaspermdegroot jaspermdegroot committed Jul 3, 2012
Showing with 21 additions and 7 deletions.
  1. +14 −7 docs/forms/search/options.html
  2. +7 −0 docs/forms/textinputs/options.html
@@ -38,6 +38,20 @@
<p>The text input plugin has the following options:</p>
<dl>
+ <dt><code>clearSearchButtonText</code> <em>string</em></dt>
+ <dd>
+ <p class="default">default: "clear text"</p>
+ <p>Sets the text used for the button that clears the search input of text.</p>
+ <pre><code>$('.selector').textinput(<strong>{ clearSearchButtonText: "custom value" }</strong>);</code></pre>
+ </dd>
+
+ <dt><code>disabled</code> <em>boolean</em></dt>
+ <dd>
+ <p class="default">default: false</p>
+ <p>Sets the default state of the search input to disabled when "true".</p>
+ <pre><code>$('.selector').textinput(<strong>{ disabled: "true" }</strong>);</code></pre>
+ </dd>
+
<dt><code>initSelector</code> <em>CSS selector string</em></dt>
<dd>
<p class="default">default: "input[type='text'], input[type='search'], :jqmData(type='search'), input[type='number'], :jqmData(type='number'), input[type='password'], input[type='email'], input[type='url'], input[type='tel'], textarea, input:not([type])"</p>
@@ -59,13 +73,6 @@
<pre><code>$('.selector').textinput(<strong>{ theme: "a" }</strong>);</code></pre>
</dd>
- <dt><code>clearSearchButtonText</code> <em>string</em></dt>
- <dd>
- <p class="default">default: "clear text"</p>
- <p>Sets the text used for the button that clears the search input of text.</p>
- <pre><code>$('.selector').textinput(<strong>{ clearSearchButtonText: "custom value" }</strong>);</code></pre>
- </dd>
-
</dl>
</form>
@@ -38,6 +38,13 @@
<p>The text input plugin has the following options:</p>
<dl>
+ <dt><code>disabled</code> <em>boolean</em></dt>
+ <dd>
+ <p class="default">default: false</p>
+ <p>Sets the default state of the text input to disabled when "true".</p>
+ <pre><code>$('.selector').textinput(<strong>{ disabled: "true" }</strong>);</code></pre>
+ </dd>
+
<dt><code>initSelector</code> <em>CSS selector string</em></dt>
<dd>
<p class="default">default: "input[type='text'], input[type='search'], :jqmData(type='search'), input[type='number'], :jqmData(type='number'), input[type='password'], input[type='email'], input[type='url'], input[type='tel'], textarea, input:not([type])"</p>

1 comment on commit 6947b1c

Member

jaspermdegroot commented on 6947b1c Jul 8, 2012

cherry-pick 1.1.2.

Please sign in to comment.