{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","params":[],"results":{"codes":[]},"settings":""},"next":{"description":"","pages":[]},"title":"formlyApiCheck","type":"basic","slug":"formlyapicheck","excerpt":"runtime validation","body":"[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Internally\"\n}\n[/block]\nangular-formly depends on the library [apiCheck](https://github.com/kentcdodds/apiCheck.js) to validate that you're using the functions and directives properly. If not, you will get errors and warnings if you do something wrong. Hopefully these errors and warnings are useful!\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Custom apiCheck\"\n}\n[/block]\nYou can use `apiCheck` to validate the api to your custom types. You can specify an `apiCheck` property on a `type` and a `wrapper`. For more information, see the [formlyConfig](doc:formlyconfig) documentation.\n[block:html]\n{\n  \"html\": \"<hr />\\n<a href=\\\"https://app.codesponsor.io/link/PKGFLnhDiFvsUA5P4kAXfiPs/formly-js/angular-formly\\\" rel=\\\"nofollow\\\"><img src=\\\"https://app.codesponsor.io/embed/PKGFLnhDiFvsUA5P4kAXfiPs/formly-js/angular-formly.svg\\\" style=\\\"width: 888px; height: 68px;\\\" alt=\\\"Sponsor\\\" /></a>\\n\"\n}\n[/block]","updates":[],"order":7,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"56d91c5607ae190b00004470","user":"54e3723b8ef7552300409bf4","version":{"version":"8.0.0","version_clean":"8.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["56d91c5507ae190b00004464","56d91c5507ae190b00004465","56d91c5507ae190b00004466","56d91c5507ae190b00004467","56d91c5507ae190b00004468"],"_id":"56d91c5507ae190b00004460","releaseDate":"2016-03-04T05:25:41.052Z","__v":1,"createdAt":"2016-03-04T05:25:41.052Z","project":"5515ba4981faf83900d2b10c"},"createdAt":"2015-03-28T18:58:01.731Z","category":{"sync":{"isSync":false,"url":""},"pages":["56d91c5607ae190b00004469","56d91c5607ae190b0000446a","56d91c5607ae190b0000446b","56d91c5607ae190b0000446c","56d91c5607ae190b0000446d","56d91c5607ae190b0000446e","56d91c5607ae190b0000446f","56d91c5607ae190b00004470","56d91c5607ae190b00004471","56d91c5607ae190b00004472","56d91c5607ae190b00004473","56d91c5607ae190b00004474","56d91c5607ae190b00004475","56d91c5607ae190b00004476"],"title":"Guides","slug":"guides","order":0,"from_sync":false,"reference":false,"_id":"56d91c5507ae190b00004464","__v":1,"createdAt":"2015-03-27T20:15:06.295Z","project":"5515ba4981faf83900d2b10c","version":"56d91c5507ae190b00004460"},"githubsync":"","__v":1,"project":"5515ba4981faf83900d2b10c"}

formlyApiCheck

runtime validation

[block:api-header] { "type": "basic", "title": "Internally" } [/block] angular-formly depends on the library [apiCheck](https://github.com/kentcdodds/apiCheck.js) to validate that you're using the functions and directives properly. If not, you will get errors and warnings if you do something wrong. Hopefully these errors and warnings are useful! [block:api-header] { "type": "basic", "title": "Custom apiCheck" } [/block] You can use `apiCheck` to validate the api to your custom types. You can specify an `apiCheck` property on a `type` and a `wrapper`. For more information, see the [formlyConfig](doc:formlyconfig) documentation. [block:html] { "html": "<hr />\n<a href=\"https://app.codesponsor.io/link/PKGFLnhDiFvsUA5P4kAXfiPs/formly-js/angular-formly\" rel=\"nofollow\"><img src=\"https://app.codesponsor.io/embed/PKGFLnhDiFvsUA5P4kAXfiPs/formly-js/angular-formly.svg\" style=\"width: 888px; height: 68px;\" alt=\"Sponsor\" /></a>\n" } [/block]