New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing options attribute in ITemplateOptions #7088

Open
benzid-wael opened this Issue Dec 7, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@benzid-wael
Contributor

benzid-wael commented Dec 7, 2015

the templateOptions attribute accept already an options attribute which describe the different option for the select input, e.g:

{
    "key": "state",
    "type": "select",
    "templateOptions": {
      "label": "State",
      "options": [
        {
          "name": "Alabama",
          "value": "AL"
        },
        {
          "name": "Alaska",
          "value": "AK"
        }
    }
}

However, the ItemplateOptions does not contains definition of options field. For more details, see http://angular-formly.com/#/example/bootstrap-formly/select

@vvakame

This comment has been minimized.

Member

vvakame commented Dec 10, 2015

please send a pull request. I'll review it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment