Open fredericalpers opened 6 days ago
@fredericalpers To be able to continue performing this task, I confirm the following:
I want the backend to accurately reflect when all image types are deselected in the property list settings, so that it is clear no images will be displayed on the frontend.
Note: Currently, I see that the admin Detail View and admin Similar Estates pages are also encountering this error. Do you want to fix the Estate Details View and Similar Estate as well?
The checkbox for the image type "TITELBILD" is checked by default in the backend of the plugin. However, when I deselect this checkbox and save the settings, it appears as still being checked in the backend. Despite this, no "TITELBILD" image is displayed on the frontend, the whole "oo-listimage" will be removed from the code.
There seems to be an issue in the code causing this inconsistency: the checkbox remains checked by default in the backend but does not display the "TITELBILD" image on the frontend when it is deselected. See screenshots below. The TITELBILD should stay the default selected image type for the property lists, only when actively deselected the checkbox needs to stay deselected.
Proper Handling of Image Type Selection in Property List Settings
User Story
As an admin user of the onOffice WordPress plugin, I want the backend to accurately reflect when all image types are deselected in the property list settings, so that it is clear no images will be displayed on the frontend.
Currently, in the settings for the property list, admins can choose different types of images to display. If all image types are deselected, the frontend correctly shows no images. However, in the backend, the selection still shows as "Title Image (TITELBILD)" This causes confusion, as the backend should also indicate that no images are selected when all options are deselected.
By implementing this fix, admin users will have a clearer and more accurate understanding of the image display settings in the property lists, leading to a better user experience and fewer misunderstandings.
Tasks / Requirements