-
-
Notifications
You must be signed in to change notification settings - Fork 185
refact!: FieldClass with named props
#7608
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
base: v6/develop
Are you sure you want to change the base?
Conversation
| } | ||
|
|
||
| return $this->params[$param] ?? null; | ||
| throw new NotFoundException(message: 'Method or option "' . $param . '" does not exist for field type "' . $this->type() . '"'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bastianallgeier I was asking the other day about the magic validate prop that's not really defined anywhere. I guess this change would cause a problem with our magic usage there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we want to bring back this undocumented option for input fields, we should really do that in a way that sets a validate property and gets rid of the magic anyway.
560bfcd to
f9e6fd7
Compare
f9e6fd7 to
14fb5c2
Compare
11d2441 to
5dd5edd
Compare
5dd5edd to
48baca2
Compare
Description
Todo
...$propsChangelog
🎉 Features
✨ Enhancements
🐛 Bug fixes
♻️ Refactored
☠️ Deprecated
🧹 Housekeeping
🚨 Breaking changes
Docs
For review team