Skip to content

Commit

Permalink
doc: validity public property
Browse files Browse the repository at this point in the history
  • Loading branch information
pozil committed Feb 28, 2023
1 parent e986619 commit 5d67519
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ Sometimes, you may want to pass extra data from the lookup component to Apex. To
| `required` | `Boolean` | Whether the lookup is a required field. Note: Property can be set with `<c-lookup required>`. | `false` |
| `scrollAfterNItems` | `Number` | A null or integer value used to force overflow scroll on the result listbox after N number of items.<br/>Valid values are `null`, `5`, `7`, or `10`.<br/>Use `null` to disable overflow scrolling. | `null` |
| `selection` | `[LookupSearchResult]` OR `LookupSearchResult` | Lookup initial selection if any. Array for multi-entry lookup or an Object for single entry lookup. | `[]` |
| `validity` | `Boolean` | Read-only property that reports whether there are errors or not (see `errors`). | `false` |
| `variant` | `String` | Changes the appearance of the lookup. Accepted variants:<br/>`label-stacked` - places the label above the lookup.<br/>`label-hidden` - hides the label but make it available to assistive technology.<br/>`label-inline` - aligns horizontally the label and lookup. | `label-stacked` |

### Functions
Expand Down

0 comments on commit 5d67519

Please sign in to comment.