diff --git a/app/assets/javascripts/admin/addon/models/user-field.js b/app/assets/javascripts/admin/addon/models/user-field.js index 495be7a08d0..53b92a63fd9 100644 --- a/app/assets/javascripts/admin/addon/models/user-field.js +++ b/app/assets/javascripts/admin/addon/models/user-field.js @@ -15,6 +15,7 @@ UserField.reopenClass({ UserFieldType.create({ id: "text" }), UserFieldType.create({ id: "confirm" }), UserFieldType.create({ id: "dropdown", hasOptions: true }), + UserFieldType.create({ id: "multiselect", hasOptions: true }), ]; } diff --git a/app/assets/javascripts/discourse/app/templates/components/user-fields/multiselect.hbs b/app/assets/javascripts/discourse/app/templates/components/user-fields/multiselect.hbs new file mode 100644 index 00000000000..f81fa36fd43 --- /dev/null +++ b/app/assets/javascripts/discourse/app/templates/components/user-fields/multiselect.hbs @@ -0,0 +1,19 @@ + + +