Skip to content

Pre-fill completion proof when resubmitting a milestone #99

@damianmarti

Description

@damianmarti
  • I think it would be nice to show the completion_proof field in the CompleteMilestoneModal when the user resubmits. Probably they just need to tweak the field with something that was wrong/missing.

Cursor proposes something like:

const { formMethods, getCommonOptions } = useFormMethods<CompleteMilestoneModalFormValues>({
  schema: completeMilestoneModalFormSchema,
  defaultValues: {
    completionProof: milestone.completionProof || "",
  },
});

Originally posted by @Pabl0cks in #98 (review)

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