PEG_LIST icon indicating copy to clipboard operation
PEG_LIST copied to clipboard

[feat] sfpegListCmp - Keyword input for SOSL

Open pegros opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. Currently, SOSL may only be used in a static way, e.g. to find data related to a User/Record context. It would be great to let the User enter keywords in the component to refine a predefined SOSL search.

Describe the solution you'd like Similarly to the current filter option which filter records loaded in the component, a find popup would enable users to enter additional search keyword provided as input to the SOSL query. The search would then be refined on server side instead of locally, possibly enabling to start with a fully empty list when no keyword is entered. The option would be to have a specific {{{SEARCH}}} token available for SOSL queries to be replaced with the text entered by the User in the component.

Describe alternatives you've considered This might be a new feature of the sfpegListCmp component or a new wrapper component displaying a search bar above the list and injecting the search keyword within the current context property.

Additional context N/A

pegros avatar Oct 24 '22 08:10 pegros

Similar wrapper component available in the examples : see sfpegQueryCmp.

pegros avatar May 24 '24 10:05 pegros