David Grudl
David Grudl
Can you try to implement any solution?
`->setValidationScope(array_diff_key($form->getControls(), ['country' => TRUE]))` is horrendous? edit: `$form->getControls()` returns ArrayIterator, so `iterator_to_array($form->getControls())`.
Of course I'll be happy. But try it please, I wrote from my head.
Do you have an update?
And will you have? :-)
Better is forgotten than wrong.
ad `$_SERVER['ORIG_PATH_INFO']` & `$_SERVER['SCRIPT_NAME']`: detection is magic. See [this](http://forum.nette.org/cs/5932-lepsi-detekce-requesturi-a-scriptpath) versus [this](https://github.com/nette/nette/issues/489). Currently it somehow works and it is better to not touch it ;-) ad filters: their problem is that...
Partially merged by 37971f00a38ec07615633b80d864bbbd9c350bb6
So canonicalize() should be fixed, not constructor.
Great. Probably the same applies to isEqual(). Can you also add test?