Skip to content

Conversation

@glenblosser-nava
Copy link
Collaborator

@glenblosser-nava glenblosser-nava commented Nov 7, 2025

Summary

Work for #5931

Changes proposed

When the form is not in progress, the Save button is hidden
This PR includes work that will be implemented in a future PR for #5931

Context for reviewers

This PR is part of larger work on the #5931 ticket, but only features the hidden save button change. The readonly changes are also present in this PR.

Validation steps

After submitting an application, the Save button should not be visible on forms.

Copy link
Collaborator

@doug-s-nava doug-s-nava left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ ✅ ✅ ✅
looks good with the note that there is stuff in here that will bear fruit in the follow up ticket #7067

console.error(`Unknown widget type: ${type}`, definition);
throw new Error(`Unknown widget type: ${type}`);
}
if (props.isFormLocked) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note that isFormLocked is not being passed, so this won't do anything yet

required?: boolean;
disabled?: boolean;
readonly?: boolean;
readOnly?: boolean;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note that readOnly is not being passed yet, so implementation of this will not be used, but may later be depending on the requirements for #7067

@glenblosser-nava glenblosser-nava merged commit fbcc616 into main Nov 17, 2025
9 checks passed
@glenblosser-nava glenblosser-nava deleted the gblosser/5931-Hide-Save-Button-Button-Only branch November 17, 2025 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants