Image upload field dissapears

Created on 21 June 2023, over 1 year ago
Updated 8 November 2023, about 1 year ago

Problem/Motivation

As soon as advertisement form (/admin/config/simpleads/advertisement/form-display) is modified, image upload fields dissapear, even if they haven't been touched. Restoring form to the original content (like removing added field) doesn't help.
It seems image upload fields are still available in HTML, but they have "display: none" style. And changing betweendifferent advertisement type doesn't work anymore.

Example:

I think the issue is critical as it makes impossible to change images uploaded to the advertisement and removing newly added fields from

Steps to reproduce

  1. Install SimpleAds module
  2. Go to /admin/config/simpleads/advertisement/fields and create new field for advertisement
  3. Go to /admin/config/simpleads/advertisement/form-display and add newly created field to the form
  4. Create new addvertisement: /admin/content/simpleads/add
  5. Upload fields are not visible, even if you try to change Advertisement type
πŸ› Bug report
Status

Active

Version

2.0

Component

User interface

Created by

πŸ‡΅πŸ‡±Poland besek

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024