-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change what decides whether the email additional text container shoul…
…d be open It was a `class=hidden` on the container itself, checking form component's value to see if it should be added or not. Now it's `class=expanded` on an element defined by `data-class-target`, a textarea in this case, where `class=expanded` is added in the form factory if needed. CSS `:has()` is currently not supported by Firefox (it's behind a flag) but guess that's ok by me. Fixes ``` ------ ---------- ------------------------------------------------------------------------------------------------------------------------------------ Line Compiled Admin/Presenters/templates/Emails/default.latte rendered from MichalSpacekCz\Admin\Presenters\EmailsPresenter::default line See compiled template: /tmp/phpstan-latte/app/Admin/Presenters/templates/Emails/default.latte.ffc5a80775bd006bd5dcca69684ee311.php ------ ---------- ------------------------------------------------------------------------------------------------------------------------------------ 63 364 Cannot access offset 'additional' on Nette\Forms\Controls\BaseControl. ------ ---------- ------------------------------------------------------------------------------------------------------------------------------------ ```
- Loading branch information
Showing
4 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters