integreat-cms
integreat-cms copied to clipboard
POI search field in poi_box.html gets never disabled
Describe the Bug
There is an input field where a POI name can be given to search for matched POIs. This field never gets disabled even when the object is archived.
Steps to Reproduce
- Create an event with an event location (or add a location to an existing event)
- Archive this event
- Go to the archived event list and open this event
- See the input field for POI search is not disabled
Expected Behavior
The search input field should be disabled too like other fields when the object is archived.
Actual Behavior
It is not disabled.
Additional Information
This bug was found during implementation of contact form. See this comment.
Traceback