Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QA-6732: Add type button #34822

Merged
merged 7 commits into from
Jun 28, 2024
Merged

QA-6732: Add type button #34822

merged 7 commits into from
Jun 28, 2024

Conversation

MartinRiese
Copy link
Contributor

Product Description

  • Add type="button" to add and delete group buttons
  • Without it they default to type="submit" since they are inside a form

Technical Summary

https://dimagi.atlassian.net/browse/QA-6732

Feature Flag

None

Safety Assurance

Safety story

Automated test coverage

No

QA Plan

See QA ticket

Rollback instructions

  • This PR can be reverted after deploy with no further considerations

Labels & Review

  • Risk label is set correctly
  • The set of people pinged as reviewers is appropriate for the level of risk of the change

@dimagimon dimagimon added the Risk: Medium Change affects files that have been flagged as medium risk. label Jun 25, 2024
@MartinRiese MartinRiese marked this pull request as ready for review June 25, 2024 20:06
Copy link
Contributor

@orangejenny orangejenny left a comment

Choose a reason for hiding this comment

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

Code looks fine, but doesn't look like it includes the button to add a new repeat.

@orangejenny
Copy link
Contributor

I think you're going to want these, too: master...jls/more-buttons

* Add `type="button"` to add and delete group buttons
* Without it they default to `type="submit"` since they are
  inside a form
* Without it, the button will capture the enter key instead of the
  submit button
@MartinRiese MartinRiese merged commit beb020c into master Jun 28, 2024
12 checks passed
@MartinRiese MartinRiese deleted the riese/button branch June 28, 2024 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Risk: Medium Change affects files that have been flagged as medium risk.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants