-
Notifications
You must be signed in to change notification settings - Fork 58
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
setDefaultValue() is not applied #29
Comments
Do you know how to solve this? |
No, I'm currently very busy and I have no time to investigate. |
@fprochazka any idea how to solve this? |
What version of Nette? |
Nette 2.2.2 (revision 8f701b9 released on 2014-06-26) |
have you had time to look at this? or can you point me to the right direction how to fix this? |
@fprochazka can I provide anything for you to ease up process of fixing this? I'd love to fix it (or have it fixed ideally :) ) ASAP. Thanks! |
The |
OK, thanks |
@fprochazka Can you please specify how this is complicated? Maybe I am missing something. I tried to move In my opinion, problem is, that If I am right, I can send you pull request. |
@foxycode it was complicated, because the internals of forms were rapidly changing and I was unable to maintain 100% compatibility. If you can send a pullrequest with testcase I'll be happy to accept it. |
@fprochazka I give up. I tried, but it's really not so easy as I thought. |
I worked around this issue by using setValue() instead of setDefaultValue(). It is internal. I know. It is more of a hack than a solution. But maybe it helps.
From what I see the problem is that the |
@josefsabl I know and it works ok when you use |
After adding new dynamic container to form, default value of container item is not applied.
Example:
Value of "name" text input should be be set to "default value", but it is empty.
The text was updated successfully, but these errors were encountered: