Cms Kit Poll Feature Improvements #15627
Description
Resolves #15591
issue content:
1-) Prevent adding more than one poll with the same date range to a widget, display an error message, and include the name of the conflicting poll in the error message.
2-) If a widget exists but no active poll has been assigned, do not render any HTML. However, if the widget is missing, render an error message.
Checklist
- I fully tested it as developer / designer and created unit / integration tests
- I've assigned reviewer, related labels and set a milestone for this PR
How to test it?
Run the cms kit host application. And perform insert update operations on the poll.