[PR #14566] [CLOSED] 14550 fix EventRule HTMX change of action_type #14409

Closed
opened 2025-12-29 23:24:19 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/14566
Author: @arthanson
Created: 12/20/2023
Status: Closed

Base: featureHead: 14550-action-choice-form


📝 Commits (2)

  • 12b291e 14550 fix event rule action type
  • 36cf3e5 14550 fix event rule action type

📊 Changes

3 files changed (+22 additions, -5 deletions)

View changed files

📝 netbox/extras/forms/model_forms.py (+7 -4)
📝 netbox/extras/views.py (+10 -0)
📝 netbox/netbox/views/generic/object_views.py (+5 -1)

📄 Description

Fixes: #14550

@jeremystretch if you can double-check added a get_initial_data to the base view which allows resetting form fields on an HTMX change which I thought would be the most flexible fix.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/14566 **Author:** [@arthanson](https://github.com/arthanson) **Created:** 12/20/2023 **Status:** ❌ Closed **Base:** `feature` ← **Head:** `14550-action-choice-form` --- ### 📝 Commits (2) - [`12b291e`](https://github.com/netbox-community/netbox/commit/12b291e968e5cf33004e58194f8843d945c9e05f) 14550 fix event rule action type - [`36cf3e5`](https://github.com/netbox-community/netbox/commit/36cf3e5e03e149edc701c11f19bfb73e44e6371b) 14550 fix event rule action type ### 📊 Changes **3 files changed** (+22 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `netbox/extras/forms/model_forms.py` (+7 -4) 📝 `netbox/extras/views.py` (+10 -0) 📝 `netbox/netbox/views/generic/object_views.py` (+5 -1) </details> ### 📄 Description ### Fixes: #14550 @jeremystretch if you can double-check added a get_initial_data to the base view which allows resetting form fields on an HTMX change which I thought would be the most flexible fix. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 23:24:19 +01:00
adam closed this issue 2025-12-29 23:24:19 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14409