Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Radio Buttons in Nativescript

How to implement RadioButtons in Nativescript + Angular?

I have tried the RadioButton plugin but it has error during compile time. I have seen a post on stackoverflow stating to use font-awesome but it seems far more difficult to group the radio buttons.

Is it that I am ignoring any other simple method to create UI for something like this :

Label => Question: Select the fruit you like the most?

Radio 1 : Mango

Radio 2 : Apple

Radio 3 : Kiwi

Radio 4 : Banana

Any help in creating such interface?

Using Nativescript 5.0

like image 457
Pratik Avatar asked Apr 20 '26 23:04

Pratik


1 Answers

Try nativescript-checkbox plugin, setting the boxType to circle will give you radio button style. For Grouped Radio Buttons, simply uncheck other radio buttons in group when one is selected.

like image 87
Manoj Avatar answered May 03 '26 17:05

Manoj