mirror of
https://github.com/openwrt/luci.git
synced 2026-05-31 10:31:55 +08:00
deploy: fabaa87666
This commit is contained in:
@@ -4273,7 +4273,7 @@ option element is marked as invalid.</p>
|
||||
<p>Options which are displayed in the table portion of a <code>GridSection</code>
|
||||
instance are rendered as readonly text by default. By setting the
|
||||
<code>editable</code> property of a child option element to <code>true</code>, that element
|
||||
is rendered as full input widget within its cell instead of a text only
|
||||
is rendered as a full input widget within its cell instead of a text only
|
||||
preview.</p>
|
||||
<p>This property has no effect on options that are not children of grid
|
||||
section elements.</p>
|
||||
@@ -4380,8 +4380,8 @@ section elements.</p>
|
||||
|
||||
<div class="description">
|
||||
<p>Register a custom value change handler.</p>
|
||||
<p>If this property is set to a function value, the function is invoked
|
||||
whenever the value of the underlying UI input element is changing.</p>
|
||||
<p>If this property is set to a function, it is invoked
|
||||
whenever the value of the underlying UI input element changes.</p>
|
||||
<p>The invoked handler function will receive the DOM click element as
|
||||
first and the underlying configuration section ID as well as the input
|
||||
value as second and third argument respectively.</p>
|
||||
@@ -4482,8 +4482,8 @@ or selected by the user.</p>
|
||||
<dd>
|
||||
|
||||
<div class="description">
|
||||
<p>If set to <code>true</code>, the field is rendered as password input, otherwise
|
||||
as plain text input.</p>
|
||||
<p>If set to <code>true</code>, the field is rendered as a password input, otherwise
|
||||
as a plain text input.</p>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -4582,8 +4582,8 @@ as plain text input.</p>
|
||||
<p>Make option element readonly.</p>
|
||||
<p>This property defaults to the readonly state of the parent form element.
|
||||
When set to <code>true</code>, the underlying widget is rendered in disabled state,
|
||||
means its contents cannot be changed and the widget cannot be interacted
|
||||
with.</p>
|
||||
meaning its contents cannot be changed and the widget cannot be
|
||||
interacted with.</p>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -4735,7 +4735,7 @@ dependency constraints.</p>
|
||||
<p>Override the UCI configuration name to read the option value from.</p>
|
||||
<p>By default, the configuration name is inherited from the parent Map.
|
||||
By setting this property, a deviating configuration may be specified.</p>
|
||||
<p>The default is null, means inheriting from the parent form.</p>
|
||||
<p>The default of null means inherit from the parent form.</p>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -4787,7 +4787,7 @@ By setting this property, a deviating configuration may be specified.</p>
|
||||
<p>By default, the elements name, which is passed as third argument to
|
||||
the constructor, is used as UCI option name. By setting this property,
|
||||
a deviating UCI option may be specified.</p>
|
||||
<p>The default is null, means using the option element name.</p>
|
||||
<p>The default of null means use the option element name.</p>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -4838,7 +4838,7 @@ a deviating UCI option may be specified.</p>
|
||||
<p>Override the UCI section name to read the option value from.</p>
|
||||
<p>By default, the section ID is inherited from the parent section element.
|
||||
By setting this property, a deviating section may be specified.</p>
|
||||
<p>The default is null, means inheriting from the parent section.</p>
|
||||
<p>The default of null means inherit from the parent section.</p>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -5310,7 +5310,7 @@ within the given specific section.</p>
|
||||
<p>Query the underlying configuration value.</p>
|
||||
<p>The default implementation of this method returns the cached return
|
||||
value of <a href="LuCI.form.AbstractValue.html#load"><code>load()</code></a>. It may be
|
||||
overwritten by user code to obtain the configuration value in a
|
||||
overridden by user code to obtain the configuration value in a
|
||||
different way.</p>
|
||||
</div>
|
||||
|
||||
@@ -5489,11 +5489,11 @@ different way.</p>
|
||||
<p>Dependency constraints allow making the presence of option elements
|
||||
dependent on the current values of certain other options within the
|
||||
same form. An option element with unsatisfied dependencies will be
|
||||
hidden from the view and its current value is omitted when saving.</p>
|
||||
hidden from the view and its current value omitted when saving.</p>
|
||||
<p>Multiple constraints (that is, multiple calls to <code>depends()</code>) are
|
||||
treated as alternatives, forming a logical "or" expression.</p>
|
||||
<p>By passing an object of name => value pairs as first argument, it is
|
||||
possible to depend on multiple options simultaneously, allowing to form
|
||||
possible to depend on multiple options simultaneously, forming
|
||||
a logical "and" expression.</p>
|
||||
<p>Option names may be given in "dot notation" which allows to reference
|
||||
option elements outside the current form section. If a name without
|
||||
@@ -5709,7 +5709,7 @@ argument, this parameter is ignored.</p></td>
|
||||
<p>Query the current form input value.</p>
|
||||
<p>The default implementation of this method returns the current input
|
||||
value of the underlying <a href="LuCI.ui.AbstractElement.html"><code>LuCI.ui</code></a> widget.
|
||||
It may be overwritten by user code to handle input values differently.</p>
|
||||
It may be overridden by user code to handle input values differently.</p>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -6509,8 +6509,8 @@ returns <code>false</code>.</td>
|
||||
<p>Load the underlying configuration value.</p>
|
||||
<p>The default implementation of this method reads and returns the
|
||||
underlying UCI option value (or the related JavaScript property for
|
||||
<code>JSONMap</code> instances). It may be overwritten by user code to load data
|
||||
from nonstandard sources.</p>
|
||||
<code>JSONMap</code> instances). It may be overridden by user code to load data
|
||||
from non-standard sources.</p>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -6846,7 +6846,7 @@ element has been hidden due to unsatisfied dependencies or when the
|
||||
user cleared the input value and the option is marked optional.</p>
|
||||
<p>The default implementation simply removes the associated option from the
|
||||
UCI configuration (or the associated JavaScript object property in
|
||||
case of <code>JSONMap</code> forms). It may be overwritten by user code to
|
||||
case of <code>JSONMap</code> forms). It may be overridden by user code to
|
||||
implement alternative removal logic, e.g. to retain the original value.</p>
|
||||
</div>
|
||||
|
||||
@@ -7115,10 +7115,10 @@ entities decoded.</td>
|
||||
|
||||
<div class="description">
|
||||
<p>Obtain a textual input representation.</p>
|
||||
<p>The default implementation of this method returns the HTML escaped
|
||||
<p>The default implementation of this method returns the HTML-escaped
|
||||
current input value of the underlying
|
||||
<a href="LuCI.ui.AbstractElement.html"><code>LuCI.ui</code></a> widget. User code or specific
|
||||
option element implementations may overwrite this function to apply a
|
||||
option element implementations may override this function to apply a
|
||||
different logic, e.g. to return <code>Yes</code> or <code>No</code> depending on the checked
|
||||
state of checkbox elements.</p>
|
||||
</div>
|
||||
@@ -7496,7 +7496,7 @@ the initial value returned by
|
||||
<a href="LuCI.form.AbstractValue.html#cfgvalue"><code>cfgvalue()</code></a>.</p>
|
||||
<p>The default implementation simply sets the given input value in the
|
||||
UCI configuration (or the associated JavaScript object property in
|
||||
case of <code>JSONMap</code> forms). It may be overwritten by user code to
|
||||
case of <code>JSONMap</code> forms). It may be overridden by user code to
|
||||
implement alternative save logic, e.g. to transform the input value
|
||||
before it is written.</p>
|
||||
</div>
|
||||
@@ -7637,7 +7637,7 @@ before it is written.</p>
|
||||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Mon Jun 02 2025 19:03:24 GMT+0000 (Coordinated Universal Time)
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Mon Jun 09 2025 22:45:28 GMT+0000 (Coordinated Universal Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user