Skip to content

Commit

Permalink
Wagon: Deploying sitegen to repository
Browse files Browse the repository at this point in the history
  • Loading branch information
FuseSource CI committed Oct 7, 2013
1 parent 1423460 commit 39eb546
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions plugins/forms/index.html
Expand Up @@ -147,6 +147,21 @@ <h2 id = "Customising_the_element_or_attributes_of_the_control">Customising the
<select ng-options="c.name for c in colors" ng-model="..." title="..."></select>
```</p>

<h3 id = "Showing_or_hiding_controls_dynamically">Showing or hiding controls dynamically</h3>

<p>Use the <strong>control-group-attributes</strong> or <strong>control-attributes</strong> object to add ng-hide / ng-show expressions to controls to dynamically show/hide them based on the entity's values. e.g. to conditionally hide the entire control-group div with label and control use this:</p>

<pre><code>properties: {
foo: {
type: "string",

control-group-attributes: {
ng-hide: "entity.bar == 'xyz'"
}
}</code></pre>

<p> }</p>

<h3 id = "Ignoring_prefix_of_deeply_nested_properties">Ignoring prefix of deeply nested properties</h3>

<p>If you use nested properties, the labels may include an unnecessary prefix if you use sub-tabs to show related nested properties.</p>
Expand Down

0 comments on commit 39eb546

Please sign in to comment.