Project

General

Profile

Actions

Bug #91244

closed

Set LinkButton disabled

Added by Silas Krug about 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend User Interface
Target version:
-
Start date:
2020-04-30
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
LinkButton,Backend,Template
Complexity:
Is Regression:
Sprint Focus:

Description

\TYPO3\CMS\Backend\Template\Components\Buttons\LinkButton -> render() won't consider if status is disabled or not

This should be inserted:
if ($this->isDisabled()) {
$attributes['disabled'] = 'disabled';
}

Actions

Also available in: Atom PDF