Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2 beta.10: Ionic ion-input component don't work properly with new '@angular/forms' #7217

Closed
Macstyg opened this issue Jul 6, 2016 · 3 comments

Comments

@Macstyg
Copy link

Macstyg commented Jul 6, 2016

Short description of the problem:

Using new '@angular/forms' module got this exception:
ORIGINAL EXCEPTION: No value accessor for:

ngModel directive doesn't bind values from template's ion-select or ion-input fields to ts model Object and vice versa.

Steps to reproduce:

  1. Create form in component's template with ion-input or ion-select input field
  2. Include new '@angular/forms' module and import components
  3. Make dependency injection in app.ts disableDeprecatedForms(), provideForms()

Your system information:

Cordova CLI: 6.2.0
Gulp version: CLI version 3.9.1
Gulp local: Local version 3.9.1
Ionic Framework Version: 2.0.0-beta.10
Ionic CLI Version: 2.0.0-beta.30
Ionic App Lib Version: 2.0.0-beta.16
ios-deploy version: Not installed
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v5.7.0
Xcode version: Xcode 6.4 Build version 6E35b

@jgw96
Copy link
Contributor

jgw96 commented Jul 6, 2016

Hello, thanks for opening an issue with us! This is actually a known issue and should be fixed in beta.1 and If beta.11 does not fix this issue i will happily reopen it. Thanks for using Ionic!

@adamduren
Copy link
Contributor

@jgw96 Where is the known issue that can be tracked?

@jgw96
Copy link
Contributor

jgw96 commented Jul 13, 2016

@adamduren Here is the exact commit 4d56219

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 8, 2018
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

4 participants