Skip to content

Fix #7090: cable bulk edit form - allow decimal input on length field #7105

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

Conversation

sdktr
Copy link
Contributor

@sdktr sdktr commented Aug 31, 2021

Fixes: #7090

#6154 changed the Length property of the Cable model from Integer to Decimal. This PR changes the bulk edit form for Cables to allow decimal input when editing multiple cables at once.

Note: I'm not sure why the properties for bulkeditform is not inherited from the model. The single edit page seems to follow this pattern. We should follow that pattern for bulk edit forms as well, to avoid code duplication.

@jeremystretch jeremystretch merged commit 515b6bf into netbox-community:develop Aug 31, 2021
@sdktr sdktr deleted the 7090-fix-cablebulkedit-length-field branch August 31, 2021 21:18
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Decimal values for cable lengths are not allowed in bulk edit
2 participants