Skip to content
This repository was archived by the owner on Apr 30, 2018. It is now read-only.
This repository was archived by the owner on Apr 30, 2018. It is now read-only.

Add "multiSelect" field type #47

@rowanmoul

Description

@rowanmoul

I implemented this myself with very minimal effort. Would be great to see this in here by default.
This is my implementation:

formlyConfig.setType({
                name: 'multiSelect',
                extends: 'select',
                template: '<select multiple class="form-control" ng-model="model[options.key]"></select>'
            });

I would gladly turn this into a pull request, but I'm fairly new to Javascript and I'm not sure how I would write tests for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions