ng-dynamic-forms icon indicating copy to clipboard operation
ng-dynamic-forms copied to clipboard

dropdown/select with "multiple:true" is not working

Open tariq-mahmood-dev opened this issue 9 years ago • 2 comments

I am trying to create a multiselect dropdown as following let control = new DynamicSelectModel({ multiple: true, id: "select-multiple", label: "Select Multiple" });

    let options = [];
    for (let choice of field.choices) {
        options.push(new DynamicFormOption({
            value: choice.value,
            label: choice.title
        }));
    }
    control.options = options;

But it doesn't change select box to multiselect, is that not supported? I am using bootstrap ui

tariq-mahmood-dev avatar Mar 21 '17 12:03 tariq-mahmood-dev

@tariq-mahmood-nxb That's intentional (see #187).

From a usability point of view it is recommended to use checkbox groups instead of native multiple select, anyway (no one knows about holding down ctrl key).

udos86 avatar Mar 22 '17 20:03 udos86

is there multi select support for bootstrap in this lib yet? adding multiple: true to a select still doesn't seem to work in bootstrap

drkhannah avatar Aug 05 '19 16:08 drkhannah