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

How to create dynamically radio button and checkbox?

$
0
0

@enamul95 wrote:

Hello Sir,

I want create list divider . one divider will be radio group and other divider will be checkbox. Checkbox and Radio button will creat from controller.

My code is Bellow:
$scope.burgerList = [
{id:1, title:'Buger 1', type:'radiobutton'},
{id:1, title:'Buger 1', type:'radiobutton'},
{id:1, title:'Buger 1', type:'checkBox'},
{id:1, title:'Buger 1', type:'checkBox"'}
]

if type is radiobutton, dynamicallycreate radio button. if type is checkBox, dynamically create radio button.

How to do it in a list ?
Please help me..

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles