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
| `label` | `String` | Optional lookup label. Label is hidden if attribute is omitted. |
196
-
| `selection` | `[LookupSearchResult] OR LookupSearchResult` | Lookup initial selection if any. Array for multi-entry lookup or an Object for single entry lookup. |
197
-
| `placeholder` | `String` | Lookup placeholder text |
198
-
| `isMultiEntry` | `Boolean` | Whether the lookup is single (default) or multi entry. |
199
-
| `required` | `Boolean` | Whether the lookup is a required field. Note: Property can be set with `<c-lookup required>`. |
200
-
| `errors` | `[{ "id": String, "message": String }]` | List of errors that are displayed under the lookup. |
201
-
| `scrollAfterNItems` | `Number` | A null or integer value used to force overflow scroll on the result listbox after N number of items. Valid values are null, 5, 7, or 10. Use null to disable overflow scrolling. |
202
-
| `customKey` | `String` | _Deprecated_. Custom key that can be used to identify this lookup when placed in a collection of similar components. |
| `label` | `String` | Optional lookup label. Label is hidden if attribute is omitted. |
196
+
| `selection` | `[LookupSearchResult]` OR `LookupSearchResult` | Lookup initial selection if any. Array for multi-entry lookup or an Object for single entry lookup. |
197
+
| `placeholder` | `String` | Lookup placeholder text |
198
+
| `isMultiEntry` | `Boolean` | Whether the lookup is single (default) or multi entry. |
199
+
| `required` | `Boolean` | Whether the lookup is a required field. Note: Property can be set with `<c-lookup required>`. |
200
+
| `errors` | `[{ "id": String, "message": String }]` | List of errors that are displayed under the lookup. |
201
+
| `scrollAfterNItems` | `Number` | A null or integer value used to force overflow scroll on the result listbox after N number of items. Valid values are null, 5, 7, or 10. Use null to disable overflow scrolling. |
| `setDefaultResults(results)` | Allows to set optional default items returned when search has no result (ex: recent items). `results` is an array of `LookupSearchResult`. |
209
-
| `setSearchResults(results)` | Passes a search results array back to the lookup so that they are displayed in the dropdown where `results` is an array of `LookupSearchResult`. |
210
-
| `getSelection()` | Gets the current lookup selection as an array of `LookupSearchResult`. |
211
-
| `getkey()` | _Deprecated_. Retrieves the value of the `customKey` attribute. |
| `setDefaultResults(results)` | Allows to set optional default items returned when search has no result (ex: recent items). `results` is an array of `LookupSearchResult`. |
208
+
| `setSearchResults(results)` | Passes a search result array back to the lookup so that they are displayed in the dropdown. `results` is an array of `LookupSearchResult`. |
209
+
| `getSelection()` | Gets the current lookup selection as an array of `LookupSearchResult`. |
0 commit comments