Destructive Action Confirmation
Type DELETE to confirm. Uses a confirmation dialog before submission.
Items to delete:
Project Alpha Repository
Design Assets Folder
API Keys Secret
Form validation patterns with Superforms v2 + Valibot v1.
Type DELETE to confirm. Uses a confirmation dialog before submission.
The confirmation dialog is separate from the form. The user types DELETE in the input (validated by schema), then clicks the button which opens a dialog. Only after confirming the dialog does the form actually submit.