diff --git a/MVMCoreUI/FormUIHelpers/FormValidator.swift b/MVMCoreUI/FormUIHelpers/FormValidator.swift index a0785c41..82022b4c 100644 --- a/MVMCoreUI/FormUIHelpers/FormValidator.swift +++ b/MVMCoreUI/FormUIHelpers/FormValidator.swift @@ -141,7 +141,7 @@ public extension FormValidator { for actionItem in groupWatchers { if let buttonModel = actionItem as? ButtonModel, - pageType == (buttonModel.action as? ActionOpenPageModel)?.pageType { + pageType == (buttonModel.action as? ActionOpenPageProtocol)?.pageType { return buttonModel.groupName } }