Skip to content

Remove intents #686

@EkaterinaKladova

Description

@EkaterinaKladova

Remove intents from the code and make sure it does not affect behavior.

We believe it will be easy for the edit form, but might be affecting new form.

Example of a challenging removal:

const schema = isEditMode && intent === 'save' ? SaveOnlySchema : Schema
return parseWithZod(formData, { schema })

Does intent get used now that the multiple submit buttons were... removed?

Originally posted by @plocket in #677

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions