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
Copy file name to clipboardExpand all lines: src/select/examples/select.js
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3,8 +3,11 @@
3
3
* @name patternfly.select.component:pfSelect
4
4
* @restrict E
5
5
*
6
-
* @param {string} ngModel Model binding using the {@link https://docs.angularjs.org/api/ng/type/ngModel.NgModelController/ NgModelController} is mandatory.
7
-
* @param {string=} ngOptions The `{@link https://docs.angularjs.org/api/ng/directive/select/ ngOptions}` attribute can be used to dynamically generate a list of `<option>` elements
6
+
* @param {object} selected Curently selected value
7
+
* @param {object} options Array of valid selections
8
+
* @param {string} displayField Field from the object in the array to display for selection (optional)
9
+
* @param {string} emptyValue value to display when nothing is selected
10
+
* @param {function(item)} onSelect Function to call upon user selection of an item.
8
11
*
9
12
* @description
10
13
* The pfSelect component provides a wrapper for the angular ui bootstrap dropdown container allowing for use of ng-model and ng-options
0 commit comments