MartkCz

Results 17 comments of MartkCz

I could prepare PR if it makes sense

idk, but v2.4.0 (5 years ago) had these methods in UI\Component https://github.com/nette/application/blob/v2.4.0/src/Application/UI/Component.php#L347-L375

v2.3.0 hasn't Component, but PresenterComponent only with redirect method https://github.com/nette/application/blob/v2.3.0/src/Application/UI/PresenterComponent.php#L322-L345

Hi, now there's only one [template](https://github.com/contributte/invoice/blob/master/src/Templates/DefaultTemplate.php), but you can create new one. New template is planned in future, but I don't have much free time

I tried dev-master and everything is alright

IMHO the problem is with the rewrite mode. This package does not use redirection header

Translation: The best way is when you create PR with you translation https://github.com/contributte/invoice/blob/master/src/Translator.php Another way: https://github.com/contributte/invoice/tree/master/.docs#translation Colors: https://github.com/contributte/invoice/tree/master/.docs#customizing

I think this will be enough: ```php $form->onValidate[] = function (array $values) { $count = count($values['multiplier']); }; ```

V masteru by mělo fungovat: ```php $this['eventTermForm']->setDefaults([ 'multiplier' => [ ['date' => '2042'], ['date' => '2043'], ['date' => '2044'], ], ]); ```

This is old nette syntax, the correct is: ```php public function createComponentAbcForm() : AbcForm { $form = new AbcForm(); // ... } ```