Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TYPO3 9 EXT:form compatibility of validators #36

Open
mkrappitz opened this issue Jul 9, 2020 · 0 comments
Open

TYPO3 9 EXT:form compatibility of validators #36

mkrappitz opened this issue Jul 9, 2020 · 0 comments

Comments

@mkrappitz
Copy link

mkrappitz commented Jul 9, 2020

OptIn and OutOut validators for EXT:form need a class property $supportedOptions to define the validators options, otherwise they are not working in TYPO3 9. This is what I added to both classes, now they are working:

    /**
     * @var array
     */
    protected $supportedOptions = [
        'groupId' => [0, 'The group id', 'integer'],
    ];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant