-
-
Notifications
You must be signed in to change notification settings - Fork 94
Add new element #50
Comments
I'm not sure I understand your question. You say that I overwrite
|
No, I don't talk about |
I'm sorry but the class |
I'm sorry, and yes I'm talking about |
Let's try again... Can you see what I'm saying..? |
You have to overwrite |
Sure, I ask why i would like to avoid duplicate all this logic, but It's ok, It was I image! |
It doesn't work... Because when you call |
Yes you're right, I'll make changes to support custom view helpers |
It works for me.. what do you think? |
I'll made a improvment asap with your suggestion |
The last version of Zend Framework 2 supports your request |
I'm also with this problem. @neilime Can you explain how this support was added to last version of zf2? is there any example? @guilherme-santos Did you found another solution without overriding the twb form element? |
No, I'm using like I show you in gist... |
opinion? |
Hi,
It's more like a help and about your opnion...
Before I use TwbBundle when I added new element I created new class inherit from FormElement, but now you overwrite this class, what do you think it's the best way to create new element?
If I overwrite your class I will need to duplicate a lot of code when I only need change this line:
https://github.com/neilime/zf2-twb-bundle/blob/master/src/TwbBundle/Form/View/Helper/TwbBundleFormElement.php#L51
What do you think?
The text was updated successfully, but these errors were encountered: