Skip to content

Commit

Permalink
Merge pull request #745 from qonto/glimmer-migration
Browse files Browse the repository at this point in the history
Migrate phone-input component to glimmer
  • Loading branch information
m-jovan authored Sep 28, 2023
2 parents c195f2b + 07dfbc6 commit e5913a4
Show file tree
Hide file tree
Showing 6 changed files with 309 additions and 988 deletions.
1 change: 1 addition & 0 deletions ember-phone-input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"prepare": "rollup --config"
},
"dependencies": {
"@ember/render-modifiers": "^2.1.0",
"@embroider/addon-shim": "^1.0.0",
"intl-tel-input": "^18.0.0",
"rsvp": "^4.8.5"
Expand Down
12 changes: 12 additions & 0 deletions ember-phone-input/src/components/phone-input.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<input
disabled={{this.disabled}}
required={{this.required}}
autocomplete={{this.autocomplete}}
...attributes
{{on 'input' this.onInput}}
{{did-insert this.onDidInsert}}
{{did-update this.onDidUpdate @country @number}}
{{will-destroy this.onDestroy}}
data-test-loading-iti={{this.loadingIti}}
type={{this.type}}
/>
Loading

0 comments on commit e5913a4

Please sign in to comment.