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

Unable to pre-select the radio button in the form by default

$
0
0

@marytee123 wrote:

Ionic 4:

I have the the following form with radio buttons:

One
    <ion-item>
      <ion-label>{{value1}}</ion-label>
      <ion-radio slot="start" value={{value1}} checked></ion-radio>
    </ion-item>
{{value2}}
 </ion-radio-group>
</ion-list>

I tried [checked] = “true”, [checked]=‘true,’ nothing works. How can I pre-select a radio button by default?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70440

Trending Articles



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