elleracompany / craft-cookie-consent

GDPR-Compliant cookie consent banner for Craft CMS
Other
6 stars 5 forks source link

Empty Refresh Time causes save error #66

Closed alexjcollins closed 2 years ago

alexjcollins commented 3 years ago

When saving plugin settings on a site for the very first time, the Refresh Time value is empty which throws an error on save. After returning to the page, the input is prefilled with the default 500 (millisecond) value and saving is fine.

Hopefully, the video below helps you recreate it. This site is using multi-site.

https://user-images.githubusercontent.com/12031196/116968916-4e6cb980-acad-11eb-8a74-cd376bfab2d6.mp4