Skip to content

Commit

Permalink
Update upload.php (#1463)
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndr-w authored Jan 8, 2024
1 parent 3c0cb44 commit 17cdfa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/yform/value/upload.php
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ public function getDefinitions(): array
'required' => ['type' => 'boolean', 'label' => rex_i18n::msg('yform_values_upload_required')],
'messages' => ['type' => 'text', 'label' => rex_i18n::msg('yform_values_upload_messages'), 'notice' => rex_i18n::msg('yform_values_upload_messages_notice')],
'notice' => ['type' => 'text', 'label' => rex_i18n::msg('yform_values_defaults_notice')],
'config' => ['type' => 'text', 'label' => rex_i18n::msg('yform_values_upload_config'), 'notice' => rex_i18n::msg('yform_values_upload_config_notice')],
'config' => ['type' => 'textarea', 'attributes' => ['class' => 'form-control codemirror', 'data-codemirror-mode' => 'application/json'], 'label' => rex_i18n::msg('yform_values_upload_config'), 'notice' => rex_i18n::msg('yform_values_upload_config_notice')],
],
'description' => rex_i18n::msg('yform_values_upload_description'),
'db_type' => ['text'],
Expand Down

0 comments on commit 17cdfa6

Please sign in to comment.