Only submit progress when it is a valid int
What does this MR do and why?
The progress widget requires an Int!
type and therefore does not allow
to send null
values.
This fixes it by not submitting null
when the value of the form field
is empty.
Screenshots or screen recordings
Before the issue:
How to set up and validate locally
- Enable OKRs
Feature.enable(:okrs_mvc)
- Go to issue list and create an objective (On the "new issue" button top right, there is a dropdown to create an objective)
- Focus on the progress input and tab out again, before this branch, an error would appear
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.