Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing custom classes on checkbox in inline edit
- `\Nette\Forms\Controls\Checkbox::getControl` returns label part and control part like one ``\Nette\Utils\Html` and then `$control->getControl()->getAttribute('class')` is always null and custom defined classes are always overwritten by `$control->setAttribute('class', 'form-control input-sm form-control-sm');` - fixed by using `\Nette\Forms\Controls\BaseControl::getControlPrototype` which always returns only control part without label part
- Loading branch information