Skip to content

Fix Update button not creating pending new device statuses#1661

Open
lacatoire wants to merge 1 commit intoopendcim:masterfrom
lacatoire:fix/1041-update-button-new-status
Open

Fix Update button not creating pending new device statuses#1661
lacatoire wants to merge 1 commit intoopendcim:masterfrom
lacatoire:fix/1041-update-button-new-status

Conversation

@lacatoire
Copy link
Copy Markdown

Summary

When a user types a new device status name in the blank input field on the Configuration page and clicks the Update button (instead of pressing Enter or clicking the + icon), the new status was silently lost.

This fix triggers the add-status action on the pending input before collecting the form data for the Update submission, ensuring no typed status is lost.

Fixes #1041

When a user types a new status name in the blank field and clicks
the Update button instead of pressing Enter or clicking the + icon,
the new status was silently lost. Now the Update button triggers
the add-status action before collecting the form data.

Fixes opendcim#1041
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.

New device statuses are not created when you click the update button

1 participant