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
have use useExactSearch, searchResultLimit in my code in formio but , its not working properly
FOR example in the above attached image , i am searching "nitesh kumar", its but appearing in the search BUT "kumar nitesh" is also shown in the search result. even though i have use useExactSearch .
and another problem is , let say there are search results which is above 10 , eg 100 matching results , but it only shows 10 in the drop down , what should i do
have use useExactSearch, searchResultLimit in my code in formio but , its not working properly
FOR example in the above attached image , i am searching "nitesh kumar", its but appearing in the search BUT "kumar nitesh" is also shown in the search result. even though i have use useExactSearch .
and another problem is , let say there are search results which is above 10 , eg 100 matching results , but it only shows 10 in the drop down , what should i do
The sample code for this is
static setSingleOrMultiSelect(settings, selectParameter) {
return {
label: 'Default Values',
widget: 'choicejs',
dataSrc: 'url',
clearOnRefresh: true,
type: 'select',
valueProperty: '_id',
data: {
url:
${environment.api.getDefaultValues}/{{data.customOptions.form}}/{{${selectParameter}}}
,headers: [
{
key: 'Authorization',
value:
'Bearer {{JSON.parse(localStorage.getItem("currentUser")).access_token}}',
},
],
},
template: '{{ item._id }}',
placeholder: 'Choose Default Value',
useExactSearch: true,
customOptions: {
searchResultLimit: 10,
},
...settings,
};
}
The text was updated successfully, but these errors were encountered: