Skip to content

Commit

Permalink
Update upload.php
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndr-w committed Dec 17, 2023
1 parent dfee9a7 commit 0f07710
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 0f07710

Please sign in to comment.