Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

Ionic Version 3 Segment Button Binding Error (example works in Ionic ver 2)

$
0
0

@bitflinger wrote:

Any Help would be GREATLY Appreciated - Thanks!!!!

When binding a segment button using these requirements:
- bound by FormGroup
- segment button values (choices) come async from database
- segment button bound with initial value (string)

I get this error - ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: 'false'. Current value: 'true'.

I very simplified version, which throws the error, is shown below and available at https://github.com/bitflinger/IonicSegmentWoes

HTML *************************************
https://github.com/bitflinger/IonicSegmentWoes/blob/master/SegmentButtonIssues/src/pages/home/home.html

CODE *************************************

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>