Edit this page

up.form [up-show-for]
HTML selector

Only shows this element if an input field with [up-switch] has one of the given values.

See [up-switch] for more documentation and examples.


Modifying attributes

[up-show-for] optional

A space-separated list of input values for which this element should be shown.

If your values might contain spaces, you may also serialize them as a JSON array.