{"id":19451073,"url":"https://github.com/benoror/ember-formly","last_synced_at":"2025-11-09T02:03:18.252Z","repository":{"id":36370970,"uuid":"40675814","full_name":"benoror/ember-formly","owner":"benoror","description":"JavaScript powered forms for Ember","archived":false,"fork":false,"pushed_at":"2017-09-27T03:34:30.000Z","size":63,"stargazers_count":25,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-08T03:00:41.798Z","etag":null,"topics":["addon","ember","form-builder","forms"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benoror.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-13T18:43:20.000Z","updated_at":"2024-05-30T02:47:20.000Z","dependencies_parsed_at":"2022-08-24T15:50:33.269Z","dependency_job_id":null,"html_url":"https://github.com/benoror/ember-formly","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/benoror/ember-formly","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoror%2Fember-formly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoror%2Fember-formly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoror%2Fember-formly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoror%2Fember-formly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benoror","download_url":"https://codeload.github.com/benoror/ember-formly/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoror%2Fember-formly/sbom","scorecard":{"id":233536,"data":{"date":"2025-08-11","repo":{"name":"github.com/benoror/ember-formly","commit":"84a184418e90e7f8956b49d73e6622127cfd4e79"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-17T05:13:38.217Z","repository_id":36370970,"created_at":"2025-08-17T05:13:38.217Z","updated_at":"2025-08-17T05:13:38.217Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":283447139,"owners_count":26837401,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-09T02:00:05.828Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["addon","ember","form-builder","forms"],"created_at":"2024-11-10T16:40:04.083Z","updated_at":"2025-11-09T02:03:13.243Z","avatar_url":"https://github.com/benoror.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ember-formly\n\n\u003e JavaScript Powered Forms for Ember.js\n\n[![NPM](https://nodei.co/npm/ember-formly.png)](https://npmjs.org/package/ember-formly)\n\n![Download count all time](https://img.shields.io/npm/dt/ember-formly.svg) [![Ember Observer Score](https://emberobserver.com/badges/ember-formly.svg)](https://emberobserver.com/addons/ember-formly) [![Build Status](https://travis-ci.org/benoror/ember-formly.svg?branch=master)](https://travis-ci.org/benoror/ember-formly) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n\nember-formly is an Ember.js addon based on [angular-formly](https://github.com/formly-js/angular-formly)\n\nThe aim isn't to fully duplicate angular-formly's functionality, but instead to propose a **new \u0026 simplified mechanism for automating form creation** by using patterns like **components** (instead of custom directives) while keeping some key concepts like `model` and `fields`.\n\n# Installation\n\n```\nember install ember-formly\n```\n\n# Example\n\n![http://g.recordit.co/8cn0KyxHYO.gif](http://g.recordit.co/8cn0KyxHYO.gif)\n\n### Route/Component/Controller:\n\n```javascript\n  model() {\n    return {\n      age: 20,\n      veggie: true,\n      favcolor: '#0000ff',\n      borndate: '1986-11-14'\n    }\n  },\n  fields: computed(function() {\n    return [\n      {\n        key: 'age',\n        component: 'custom-fields/html-input',\n        options: {\n          type: 'number',\n          label: 'Age'\n        }\n      },\n      {\n        key: 'veggie',\n        component: 'custom-fields/html-input',\n        options: {\n          type: 'checkbox',\n          label: 'Is a Veggie?'\n        }\n      },\n      {\n        key: 'favcolor',\n        component: 'custom-fields/html-input',\n        options: {\n          type: 'color',\n          label: 'Favorite Color'\n        }\n      },\n      {\n        key: 'borndate',\n        component: 'custom-fields/date-picker',\n        options: {\n          label: 'Born Date'\n        }\n      }\n    ]\n  })\n```\n\n### Basic Template\n\n```handlebars\n{{ember-formly fields=fields model=model}}\n```\n\n### `fieldClassName`\n\nApply a `class` to each `field`:\n\n```handlebars\n{{ember-formly fields=fields model=model fieldClassName=\"foobar\"}}\n```\n\n### Block\n\nUse custom markup for each field:\n\n```handlebars\n{{#ember-formly fields=fields as |field|}}\n  \u003cdiv class=\"baz-wrapper\"\u003e\n    {{ember-formly-field\n      field=field\n      model=model.nested\n      onchange=(action 'foobar')}}\n  \u003c/div\u003e\n{{/ember-formly}}\n```\n\n## Advanced Usage\n\n### Callback actions\n\n```javascript\nconst fields = [\n  {\n    key: 'date',\n    component: 'date-picker',\n    options: {\n      label: 'Pick a date!',\n      callback: function(value) {\n        window.alert('Selected date: ' + value);\n      }\n    }\n  }\n];\n```\n\ndate-picker.js:\n\n```handlebars\n  {{pikaday-input\n    value=value\n    onSelection=(action options.callback)}}\n```\n\n# Development\n\n## Installation\n\n* `git clone` this repository\n* `npm install`\n* `bower install`\n\n## Running\n\n* `ember server`\n* Visit your app at http://localhost:4200.\n\n## Running Tests\n\n* `npm test` (Runs `ember try:testall` to test your addon against multiple Ember versions)\n* `ember test`\n* `ember test --server`\n\n## Building\n\n* `ember build`\n\nFor more information on using ember-cli, visit [http://ember-cli.com/](http://ember-cli.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenoror%2Fember-formly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenoror%2Fember-formly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenoror%2Fember-formly/lists"}