This is a Stimulus controller which will allow a Shoelace Form component to be processed and submitted by Turbo.
Just wrap your <sl-form>
control with a form tag:
<%= form_with url: "/test-submit" do %>
<sl-form data-controller="shoelace-form">
controls go here
</sl-form>
<% end %>