The s-form is listed as a component for admin ui extensions, however it isn’t supported in admin actions which isn’t clear from the docs, only appears as a warning from polaris in the console and also the types are missing from it Form
I also wondered if this is a plan to have a custom component for all surfaces? Admin, App Home etc as the app home just uses the browser form component and its a little confusing that this works in some places but not others.
The primary purpose for s-form is to hook into the page’s contextual save bar. This only applies to the inline (block) targets and intents. Action targets don’t allow you to hook into the page’s save state since it’s isolated in a modal.
That said, you are correct that the documentation could be much more explicit about that. I’ll take it back to the team and follow up. Thanks!
I did some more work on this today and it looks like the browser form html element, isn’t support in admin actions either, the HTML seems to get stripped out. I wondered if there is any plans to support the native form across this? Please