diff --git a/src/bundle/Resources/public/js/scripts/helpers/form.error.helper.js b/src/bundle/Resources/public/js/scripts/helpers/form.error.helper.js index e5ddaa7396..6bc39c4760 100644 --- a/src/bundle/Resources/public/js/scripts/helpers/form.error.helper.js +++ b/src/bundle/Resources/public/js/scripts/helpers/form.error.helper.js @@ -2,7 +2,9 @@ // @deprecated, will be removed in 5.0 ibexa.addConfig('helpers.formError', { formatLine: (...args) => { - console.warn('helpers.formError.formatLine method is deprecated and will be removed in 5.0'); + console.warn( + 'helpers.formError.formatLine method is deprecated and will be removed in 5.0, please use helpers.formValidation.formatErrorLine instead.', + ); return ibexa.helpers.formValidation.formatErrorLine(...args); }, diff --git a/src/bundle/Resources/public/js/scripts/helpers/form.validation.helper.js b/src/bundle/Resources/public/js/scripts/helpers/form.validation.helper.js index 252486e1ae..f6c15b4c76 100644 --- a/src/bundle/Resources/public/js/scripts/helpers/form.validation.helper.js +++ b/src/bundle/Resources/public/js/scripts/helpers/form.validation.helper.js @@ -1,7 +1,7 @@ (function (global, doc, ibexa, Translator) { const formatErrorLine = (errorMessage) => { const errorIcon = ` - + `; const container = document.createElement('em'); const errorMessageNode = document.createTextNode(errorMessage); diff --git a/src/bundle/Resources/views/themes/admin/ui/form_fields/dropdown_widget.html.twig b/src/bundle/Resources/views/themes/admin/ui/form_fields/dropdown_widget.html.twig index edbe2fa645..d7456d48b0 100644 --- a/src/bundle/Resources/views/themes/admin/ui/form_fields/dropdown_widget.html.twig +++ b/src/bundle/Resources/views/themes/admin/ui/form_fields/dropdown_widget.html.twig @@ -27,6 +27,7 @@ is_selector: attr.is_selector|default(false), is_dynamic: attr.is_dynamic|default(false), has_select_all_toggler: attr.has_select_all_toggler|default(false), + placeholder: attr.placeholder|default(), } %} {% endif %} {%- endblock choice_widget -%}