I am trying to create a form as a Surface.LiveComponent with Surface UI for LiveView.
I need to trigger validation on blur in some of my fields. The built in form fields don’t seem to support the :on-blur event definition. If I pass phx-blur to the opts it seems the event propagates up to the owning LiveView.
Is the right approach here to write the HTML for the form directly instead of using the helper components? Just want to make sure I’m not missing something.