-
-
Notifications
You must be signed in to change notification settings - Fork 147
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
Add common interface to ControlGroup and Container #131
Comments
Why not make Isn’t the left one just more natural?
|
Yes it is, but it is a major API change, maybe for Nette 3 one day :) for now, unifying them using interface would be more likely a simple fix of current state. |
Maybe it could simplify the whole thing that
|
ControlGroup is any general group of controls. I think that it is used only for graphic purposes. |
What about drop it at all? We could use container for that too? |
It is not easy. |
Common interface declaring
getControls()
would be useful for form renderers including DefaultFormRenderer.Example:
then, DefaultFormRenderer::renderControls() could look like:
If agreed, I can pullrequest it
The text was updated successfully, but these errors were encountered: