diff --git a/MVMCoreUI/FormUIHelpers/FormValidator.swift b/MVMCoreUI/FormUIHelpers/FormValidator.swift index bed97391..9eb777d6 100644 --- a/MVMCoreUI/FormUIHelpers/FormValidator.swift +++ b/MVMCoreUI/FormUIHelpers/FormValidator.swift @@ -146,7 +146,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 } }