Enabled until request
forms.submit.enabled_until_request
Keep Submit enabled until the request starts; then show a spinner on the request.
Description
Keep Submit enabled until the request starts; then show a spinner on the request. Pass when Submit stays enabled until the request starts and an in-flight spinner shows; fail when Submit is disabled before the request starts, or in-flight has no spinner. Premature disable blocks last-second correction; a missing spinner hides that work is in flight.
When to use
Submit actions that fire a network or async request.
Not when
Client-only saves with no request that needs in-flight feedback.
Agent hint
Leave Submit enabled until request start; show a spinner while in flight.
Submit stays enabled until the request starts; then a spinner (in-flight) shows.
Submit is disabled before the request starts, or in-flight has no spinner.
Citations
Vercel Web Interface Guidelines — Forms
https://github.com/vercel-labs/web-interface-guidelines/blob/main/README.md#forms