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

Fixing custom classes on checkbox in inline edit #1049

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 12, 2022

  1. 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
    Spilky committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    d22f09e View commit details
    Browse the repository at this point in the history