Search Bar... to execute an API request?

Hi,

When I first took a glance at the components, I thought that I could use SearchBar for executing a query to the rest api… Although it seems it’s used generally for filtering the contents of the list box…

So, is it possible to use it to actually send request to rest api, you know for example google search etc?It only has Component Tap Event which was not very useful, and the input inside has onblur which doesn’t work as I want also…

Do I have to use a button for this?

Ok, I think I found my problem… There is no way to make input “type” to “submit” so, because of that there is no onSubmit event…

and of course as far as I see there is no way to modify current “input” component with “submit” capability.

We really need to be able to customize the component attributes on JS level…

I know this will break “No Code” part, but we need this modification for one time, and we’ll use that as a component afterwards ( I hope ).

Hi, the onBlur event is probably closest to what you are looking for, although it won’t show a “Submit” button in the keyboard. You can make a feature request for an “onSubmit” event here.