You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In an ion-textarea, setting a variable in (ngModelChange) in a function fired by(ngModelChange) only works once. That is the content of the textarea only gets updated once. 'characterRemaining' does get updated in the app.
I started with Ionic v2 two weeks ago. This is my first mobile app....
PS. With this current configuration 'maxlength' didn't seem to do anything, hence this effort.
Expected behavior:
The textarea should be updated every time the function changes the model variable.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Ionic version: (check one with "x")
[ ] 1.x
[x] 2.x
I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
In an ion-textarea, setting a variable in (ngModelChange) in a function fired by(ngModelChange) only works once. That is the content of the textarea only gets updated once. 'characterRemaining' does get updated in the app.
I started with Ionic v2 two weeks ago. This is my first mobile app....
PS. With this current configuration 'maxlength' didn't seem to do anything, hence this effort.
Expected behavior:
The textarea should be updated every time the function changes the model variable.
Steps to reproduce:
Related code:
I would expect that if the last line was uncommented the textarea would always display 'frank':
Ionic info: (run
ionic info
from a terminal/cmd prompt and paste output below):package.json:
The text was updated successfully, but these errors were encountered: