app/packs/src/decidim/forms/admin/forms.js in decidim-forms-0.27.0.rc1 vs app/packs/src/decidim/forms/admin/forms.js in decidim-forms-0.27.0.rc2

- old
+ new

@@ -9,10 +9,11 @@ import AutoLabelByPositionComponent from "src/decidim/admin/auto_label_by_position.component" import createSortList from "src/decidim/admin/sort_list.component" import createDynamicFields from "src/decidim/admin/dynamic_fields.component" import createFieldDependentInputs from "src/decidim/admin/field_dependent_inputs.component" import createQuillEditor from "src/decidim/editor" +import initLanguageChangeSelect from "src/decidim/admin/choose_language" export default function createEditableForm() { const wrapperSelector = ".questionnaire-questions"; const fieldSelector = ".questionnaire-question"; const questionTypeSelector = "select[name$=\\[question_type\\]]"; @@ -390,9 +391,11 @@ createQuillEditor(el); }); autoLabelByPosition.run(); autoButtonsByPosition.run(); + + initLanguageChangeSelect($field.find("select.language-change").toArray()); }, onRemoveField: ($field) => { autoLabelByPosition.run(); autoButtonsByPosition.run();