I created a simple custom UI component for my collection to create a view with two fields and two buttons. On one button I want to call a different API and get the details and on the other button want to save details to collection. Can someone help me to understand how it works and how to solve this issue?
understood how to do it. I need to usee.preventDefault()
in function call