Validation removed options from select/multiselect field #13757
Labels
configuration
Anything related to the Mautic configuration section
custom-fields
Anything related to custom fields
feature
A new feature for inclusion in minor or major releases
Mautic Version
5.0.x series
Way of installing
I downloaded a release from https://www.mautic.org/mautic-releases
PHP version
8.0
What browsers are you seeing the problem on?
No response
What happened?
Removing the options to select or multiselect can cause some problems. The most severe and frequently reported issue is that customers can't save their emails because those values are already in use in DC. To fix this, we should add validation.
Future steps include:
Inspiration: #6566
How can we reproduce this issue?
Step 1: Create custom select field with option f and s
Step 2: Create email with dynamic content with content with condition for select field equal s
Step 3: Go to custom fields, and remove option s
Step 4: Then go back to email and try re-save. Nothing happen
Relevant log output
No response
Code of Conduct
Care about this issue? Want to get it resolved sooner? If you are a member of Mautic, you can add some funds to the Bounties Project so that the person who completes this task can claim those funds once it is merged by a member of the core team! Read the docs here.
The text was updated successfully, but these errors were encountered: