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

NEW add FormField updateSchemaData extension point #10328

Conversation

christopherdarling
Copy link
Contributor

@christopherdarling christopherdarling commented May 20, 2022

Adds an extension point to FormField::getSchemaData()

Related issue: silverstripe/silverstripe-elemental#738

@GuySartorelli
Copy link
Member

I wouldn't really want to be adding an extension hook for the purpose of working around a bug - it would be better if we can just fix the bug.

@christopherdarling
Copy link
Contributor Author

+1 to that, but as the bug has been open since 2019 I'd given up much hope and couldn't think of another way than Loz's suggestion but that had recursion issues...

@GuySartorelli
Copy link
Member

I'm going to close this PR - if you find a way to fix the underlying bug please raise a PR for that, otherwise this will need to wait for someone to take some time to look into the bug.

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

Successfully merging this pull request may close these issues.

None yet

2 participants