I have an application in Kinetic that uses several search chip selectors. I am trying to allow users to use the search functionality, while also giving them the option to manually type in their values.
Currently, my search functionality works properly, but when I try to type in a value manually, I see the following in the browser console:
“validateFilter not found for auto search…”
I see a Validation parameter in my search-show widget within my event, but since it’s expecting JSON, I’m not sure what it’s expecting.
Does anyone know what JSON this parameter is expecting?
So, you still use a search-show widget… even though you don’t want the “search” to actually pop up and run on screen? I guess that’s what I can’t wrap my head around.
My understanding is it is using the search event still, but only for validation purposes. If an invalid value is entered, it uses the errorMessage property to display a message to the user to let them know.
When I enter a value into my input it adds a chip like it normally would when selecting them in search.
I was able to replicate what you’re experiencing. It looks like the override event isn’t firing at all.
I’m testing this by clicking the search button to open the search slide out. I would assume if my override event was firing it would choose to fire when I click the search button too. When looking in the console with debug on, I only see it firing the base event. This would explain why the validateFilter error is still showing.
I also tried to overcome this issue with the before event hook. While this did fire my custom event, I was unable to stop it from firing the original event with event-cancel.
So far it looks like this functionality may not be able to be implemented on BAQ Report forms.
Hi, I was facing a similar issue - I was overriding a base search click (ReportParam.SupplierID) where I had a validate filter in search-show.
After a good bit of sluething, I found that system goes back to the base event to check the validate filter instead of checking Before/ After/ Override. I was able to get mine resolved using a TransView.<your column name> for search click.
I am using 2 search value set to set it in ReportParam and TransView fields.
Validate filter: { “validateFilter”: “VendorID = ‘%value%’”, “errorMessage”: “The Vendor ID doesn’t exist” }