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

label seems to be optional but is required by the api check #78

Closed
x12a1f opened this issue Dec 8, 2015 · 2 comments
Closed

label seems to be optional but is required by the api check #78

x12a1f opened this issue Dec 8, 2015 · 2 comments

Comments

@x12a1f
Copy link

x12a1f commented Dec 8, 2015

As seen in #34 the label seems to be optional. But if I do not add a label to the fields, I see an apiCheck warning in the console.

It seems the label is not set to optional in https://github.com/formly-js/angular-formly-templates-bootstrap/blob/master/src/wrappers/index.js#L11

@StalkersGlue
Copy link

This did not fix the warnings for me:

"shape": {
"label": "String <-- YOU ARE MISSING THIS"
}

Am I missing something?

@kentcdodds
Copy link
Member

Hmmm.. Make sure you upgrade to the latest. this example shows that it's working as expected.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants