diff --git a/lib/custom_wizard/custom_field.rb b/lib/custom_wizard/custom_field.rb index 6e36c2ee..534953fb 100644 --- a/lib/custom_wizard/custom_field.rb +++ b/lib/custom_wizard/custom_field.rb @@ -216,6 +216,7 @@ class ::CustomWizard::CustomField end def self.invalidate_cache + @cached_list = nil CustomWizard::Cache.new(LIST_CACHE_KEY).delete Discourse.clear_readonly! Discourse.request_refresh!