Edit Profile
Pre-populated form. Save disabled until changes are detected.
Form validation patterns with Superforms v2 + Valibot v1.
Pre-populated form. Save disabled until changes are detected.
The form is pre-populated via superValidate(existingData, valibot(schema)) on the server. $tainted tracks whether any field has changed from its initial value, enabling the Save button only when there are actual changes.