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

ako nastavit $autoSelectRootFirstItem? #13

Open
Ciki opened this issue Jun 13, 2014 · 1 comment
Open

ako nastavit $autoSelectRootFirstItem? #13

Ciki opened this issue Jun 13, 2014 · 1 comment

Comments

@Ciki
Copy link
Contributor

Ciki commented Jun 13, 2014

vynatok z http://forum.nette.org/cs/4387-dependencyselectbox-zavisle-selectboxy?p=4#p126242

Zkoušel jsem nastavit $autoSelectRootFirstItem takto:

$form->addDependentSelect('select', ...);
$form['select']->autoSelectRootFirstItem = false;

ale nic se nestalo. Podle zdrojáků se metoda nastavující první prvek volá dřív než tu proměnnou nastavím.

@janedbal
Copy link

janedbal commented Aug 4, 2014

Přidávám se k dotazu jak tohoto docílit :)

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

No branches or pull requests

2 participants