We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc177cb commit 85dbbbaCopy full SHA for 85dbbba
1 file changed
Resources/views/Form/fields.html.twig
@@ -99,6 +99,7 @@
99
{% if toolbar2 %}, toolbar2: "{{ toolbar2 }}"{% endif %}
100
{% if width %}, width: {{ width }}{% endif %}
101
{% if height %}, height: {{ height }}{% endif %}
102
+ {% if form.vars.disabled %}, readonly: true{% endif %}
103
{% if elfinder_file_browser %}, file_browser_callback: function (field_name, url, type, win) {
104
tinyMCE.activeEditor.windowManager.open({
105
file:"{{ url('elfinder', {'instance': elfinder_file_browser}) }}",
0 commit comments