# RC4 latest Forms, not working on ionic

**URL:** <https://forum.ionicframework.com/t/rc4-latest-forms-not-working-on-ionic/60576>\
**Category:** ionic-v3\
**Created:** [August 15, 2016, 11:10am UTC](https://forum.ionicframework.com/t/rc4-latest-forms-not-working-on-ionic/60576 "2016-08-15T11:10:12Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![msegers](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/msegers/32/105205_2.png) [@msegers](https://forum.ionicframework.com/u/msegers)\
**Post date:** [August 15, 2016, 11:10am UTC](https://forum.ionicframework.com/t/rc4-latest-forms-not-working-on-ionic/60576/1 "2016-08-15T11:10:12Z")

</div>

So I’ve installed Angular RC4 and ionic-angular beta 11.

Right now my ngModel is no longer bound to my Component.  
I have a simple

```auto
<form #someId="ngForm">
<ion-item>
                <ion-label stacked>{{'mobile' | translate | async}}</ion-label>
                <ion-input type="text" ([ngModel])="mobile" name="mobile" maxlength="10"></ion-input></ion-item>
...some button here
</form>

```

Form, but for some raisin (hehe raisin) I can’t get this value in my Component it’s always an empty string…

I also get the deprecated form message on load.

---

<div class="post-metadata">

**Author:** ![msegers](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/msegers/32/105205_2.png) [@msegers](https://forum.ionicframework.com/u/msegers)\
**Post date:** [August 15, 2016, 11:25am UTC](https://forum.ionicframework.com/t/rc4-latest-forms-not-working-on-ionic/60576/2 "2016-08-15T11:25:24Z")

</div>

if I change

```auto
([ngModel])="mobile"

```

into

```auto
[(ngModel)]="mobile"

```

I get a “no value for accessor ‘’” error.

---

<div class="post-metadata">

**Author:** ![El\_Dee565](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/el_dee565/32/99956_2.png) [@El\_Dee565](https://forum.ionicframework.com/u/El_Dee565)\
**Post date:** [August 15, 2016, 11:39am UTC](https://forum.ionicframework.com/t/rc4-latest-forms-not-working-on-ionic/60576/3 "2016-08-15T11:39:03Z")

</div>

Well I see one problem if this is what your HTML looks like. It looks like you have missing end quotebon you ngForm. I would look at angular 2 Forms docs maybe you’d find the answer there. It looks like you using the the template driven method. I would also check yo typescript/JavaScriptto make sure you importing any form stuff from the Forms module and not the common module.

---

<div class="post-metadata">

**Author:** ![msegers](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/msegers/32/105205_2.png) [@msegers](https://forum.ionicframework.com/u/msegers)\
**Post date:** [August 15, 2016, 11:43am UTC](https://forum.ionicframework.com/t/rc4-latest-forms-not-working-on-ionic/60576/4 "2016-08-15T11:43:18Z")

</div>

That quote is a typo, that’s no my structure.

Problem is that the docs are focussed on RC5, which we can’t use on ionic

---

<div class="post-metadata">

**Author:** ![El\_Dee565](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/el_dee565/32/99956_2.png) [@El\_Dee565](https://forum.ionicframework.com/u/El_Dee565)\
**Post date:** [August 15, 2016, 11:53am UTC](https://forum.ionicframework.com/t/rc4-latest-forms-not-working-on-ionic/60576/5 "2016-08-15T11:53:36Z")

</div>

Well the major change to forms in angular happened I believe it was rc2 or 3. I didn’t think that was much change form wise between rc4 and rc5. I wish I could be more help but I use the model driven form not the template driven and having no issues. I have even used ngModel in some places. I would really double check your form ports becausei know in beta 11 and ng rc4 they moved all the form stuff to @angulaer/forms.

---

<div class="post-metadata">

**Author:** ![msegers](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/msegers/32/105205_2.png) [@msegers](https://forum.ionicframework.com/u/msegers)\
**Post date:** [August 15, 2016, 11:57am UTC](https://forum.ionicframework.com/t/rc4-latest-forms-not-working-on-ionic/60576/6 "2016-08-15T11:57:27Z")

</div>

I remember some things changed, I actually updated like 1 or 2 weeks ago, and was using forms 0.2.0 or such.

Now I’m on latests whilst it SHOULD JUST WERK, it doesn’t yet. But thanks maybe I’ll move to model driven I guess, they’re neater anyways.

---

<div class="post-metadata">

**Author:** ![El\_Dee565](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/el_dee565/32/99956_2.png) [@El\_Dee565](https://forum.ionicframework.com/u/El_Dee565)\
**Post date:** [August 15, 2016, 12:11pm UTC](https://forum.ionicframework.com/t/rc4-latest-forms-not-working-on-ionic/60576/7 "2016-08-15T12:11:29Z")

</div>

I was just looking some code and it looks.like you ngModel should formName.mobile. obviously form name is the variable that you named the form as a whole.

---

<div class="post-metadata">

**Author:** ![msegers](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/msegers/32/105205_2.png) [@msegers](https://forum.ionicframework.com/u/msegers)\
**Post date:** [August 15, 2016, 12:17pm UTC](https://forum.ionicframework.com/t/rc4-latest-forms-not-working-on-ionic/60576/8 "2016-08-15T12:17:47Z")

</div>

You mean the conference app?

I tried that now, same result I’m probably missing something

---

<div class="post-metadata">

**Author:** ![msegers](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/msegers/32/105205_2.png) [@msegers](https://forum.ionicframework.com/u/msegers)\
**Post date:** [August 15, 2016, 12:45pm UTC](https://forum.ionicframework.com/t/rc4-latest-forms-not-working-on-ionic/60576/9 "2016-08-15T12:45:22Z")

</div>

Just noticed conference app is still on 0.2.0, Good job to me for using it as a reference
