Commit f9de05c2 authored by Carsten  Rose's avatar Carsten Rose

Fixes #10173: HTML input element now get 'disabled' instead of former 'readonly'

parent 72d5ef9d
......@@ -716,7 +716,8 @@ EOF;
break;
case FE_MODE_REQUIRED:
case FE_MODE_READONLY:
$attribute .= Support::doAttribute($feMode, $feMode);
// $attribute .= Support::doAttribute($feMode, $feMode);
$attribute .= Support::doAttribute('disabled', 'disabled');
break;
default:
throw new \UserFormException("Unknown mode '$feMode'", ERROR_UNKNOWN_MODE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment