Commit f15f0425 authored by Evan W. Patton's avatar Evan W. Patton Committed by Jeffrey Schiller

Fix incorrect information in TextBox component docs

Change-Id: Id2920f96f1752d622a0f8a105e2869a8e958114d
parent 0ae5cf4d
......@@ -219,14 +219,14 @@ public final class TextBox extends TextBoxBase {
@SimpleProperty(
category = PropertyCategory.BEHAVIOR,
description = "Whether the %type% is read-only. By default, this is true."
description = "Whether the %type% is read-only. By default, this is false."
)
public boolean ReadOnly() {
return readOnly;
}
/**
* Whether the %type% is read-only. By default, this is `true`{:.logic.block}.
* Whether the %type% is read-only. By default, this is `false`{:.logic.block}.
* @param readOnly
*/
@DesignerProperty(
......
......@@ -1339,7 +1339,7 @@ having dark grey components.</li>
if </code>NumbersOnly<code class="highlighter-rouge"> is true, you can set the text to anything at all using the
[</code>Text`](#TextBox.Text) property.</dd>
<dt id="TextBox.ReadOnly" class="boolean"><em>ReadOnly</em></dt>
<dd>Whether the TextBox is read-only. By default, this is <code class="logic block highlighter-rouge">true</code>.</dd>
<dd>Whether the TextBox is read-only. By default, this is <code class="logic block highlighter-rouge">false</code>.</dd>
<dt id="TextBox.Text" class="text"><em>Text</em></dt>
<dd>The text in the <code class="highlighter-rouge">TextBox</code>, which can be set by the programmer in the Designer or Blocks Editor,
or it can be entered by the user (unless the <a href="#TextBox.Enabled"><code class="highlighter-rouge">Enabled</code></a> property is false).</dd>
......
......@@ -1511,7 +1511,7 @@ Users enter text in a text box component.
[`Text`](#TextBox.Text) property.
{:id="TextBox.ReadOnly" .boolean} *ReadOnly*
: Whether the TextBox is read-only. By default, this is `true`{:.logic.block}.
: Whether the TextBox is read-only. By default, this is `false`{:.logic.block}.
{:id="TextBox.Text" .text} *Text*
: The text in the `TextBox`, which can be set by the programmer in the Designer or Blocks Editor,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment