Configurations
List of all available options for LtS
Option | Type | Requirements | Description |
---|---|---|---|
idFieldName | string | required | Id field of the table you are fetching data from |
textFieldName | string | required | Primary name field of the table you are fetching data from |
entitySetName | string | required/optional | Table collection name within Web API. Only required if getData or data options are not provided. See more details on how to find it/use it in official Power Pages documentation |
targetTableLogicalName | string | required | Logical name of your table |
minimumInputLength | number | optional | The number of symbols users needs to enter before triggering search functionality |
delay | number | optional | The number of milliseconds to wait for the user to stop typing before issuing the ajax request |
placeholder | string | optional | Placeholder of the input |
getData | function | optional | Function to fetch necessary options based on the user input. See Data sources for more details |
data | array | optional | Array of available options. See Data sources for more details |
optionRenderer | function | optional | Function to specify how the available options should be rendered. See Custom rendering for more details |
resultRenderer | function | optional | Function to specify how the selected option should be rendered. See Custom rendering for more details |
groupByFieldName | string | optional | The name of the field that will be used for options grouping. See Custom rendering for more details |
groupByTextFieldName | string | optional | The name of the field that will be used for displaying the group name. See Custom rendering for more details |