You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 30, 2018. It is now read-only.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ Version numbers correspond to `bower.json` version
4
4
5
5
## Features
6
6
7
-
Added `hide` property on fields. Allows devs to conditionally show fields.
7
+
Added `hide` property on fields. Allows devs to conditionally show fields. Also adding `hideExpression` property which is an expression that will be evaluated on the result object (using $parse) to make the api simpler to use.
@@ -144,9 +140,16 @@ When constructing fields use the options below to customize each field object. Y
144
140
###### Default
145
141
>`undefined`
146
142
143
+
---
144
+
##### hideExpression (expression string)
145
+
>`hideExpression` is used to conditionally show the input. Evaluates on the `result` and uses the `hide` property on the field.
146
+
147
+
###### Default
148
+
>`undefined`
149
+
147
150
---
148
151
##### hide (boolean)
149
-
>`hide`when true, the input is hidden (meant to be used with a watch). In the example above, the password field would be hidden until username has a value.
152
+
>`hide`is used to conditionally show the input. When true, the input is hidden (meant to be used with a watch).
0 commit comments