{"id":21884640,"url":"https://github.com/onehilltech/ember-cli-input-helpers","last_synced_at":"2025-03-22T01:30:10.167Z","repository":{"id":57223314,"uuid":"151744402","full_name":"onehilltech/ember-cli-input-helpers","owner":"onehilltech","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-21T03:15:47.000Z","size":658,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-26T19:44:10.375Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/onehilltech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-05T15:50:40.000Z","updated_at":"2023-01-21T03:15:52.000Z","dependencies_parsed_at":"2023-02-12T07:45:29.248Z","dependency_job_id":null,"html_url":"https://github.com/onehilltech/ember-cli-input-helpers","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onehilltech%2Fember-cli-input-helpers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onehilltech%2Fember-cli-input-helpers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onehilltech%2Fember-cli-input-helpers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onehilltech%2Fember-cli-input-helpers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onehilltech","download_url":"https://codeload.github.com/onehilltech/ember-cli-input-helpers/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244893097,"owners_count":20527531,"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","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":[],"created_at":"2024-11-28T10:15:02.167Z","updated_at":"2025-03-22T01:30:10.146Z","avatar_url":"https://github.com/onehilltech.png","language":"JavaScript","readme":"ember-cli-input-helpers\n==============================================================================\n\nHelper functions for binding HTML input elements to properties.\n\n## Install\n\n    ember install ember-cli-input-helpers\n\n## Features\n\n* Computed properties for transforming input strings to JavaScript objects\n* Works well with Ember.Data\n\n## Usage\n\n### Date\n\nUse the `date` computed property to convert the date input string to/from a\nJavaScript `Date` object.\n\n```javascript\nimport { date as dateInput } from 'ember-cli-input-helpers/computed';\n\nconst Person = DS.Model ({\n  // The birthday as a date type.\n  birthday: DS.attr ('date'),\n  \n  // Property specifically for inputs.\n  birthdayInput: dateInput ('birthday')\n});\n```\n\nThen use the `birthdayInput` property in the `{{input}}` helper, and not `birthday`\nproperty.\n\n```html\n{{input value=model.birthdayInput}}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonehilltech%2Fember-cli-input-helpers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonehilltech%2Fember-cli-input-helpers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonehilltech%2Fember-cli-input-helpers/lists"}