@@ -9,9 +9,6 @@ const schema
99 id: ' basic' ,
1010 label: ' Select' ,
1111 name: ' basic' ,
12- wrapperClass: ' mt-1 flex flex-col space-y-2' ,
13- optionClass: ' flex space-x-2' ,
14- labelClass: ' font-bold' ,
1512 optionLabel: ' label' ,
1613 optionValue: ' value' ,
1714 options: [
@@ -20,6 +17,22 @@ const schema
2017 { label: ' Every day' , value: ' daily' },
2118 ],
2219 },
20+ {
21+ $formkit: ' primeRadioButton' ,
22+ id: ' answer' ,
23+ label: ' Select Answer' ,
24+ name: ' answer' ,
25+ optionLabel: ' label' ,
26+ optionValue: ' value' ,
27+ options: [
28+ { label: ' A' , value: ' A' },
29+ { label: ' B' , value: ' B' },
30+ { label: ' C' , value: ' C' },
31+ { label: ' D' , value: ' D' },
32+ { label: ' E' , value: ' E' },
33+
34+ ],
35+ },
2336 ]
2437
2538const data = { basic: ' refresh' }
@@ -28,6 +41,7 @@ const data = { basic: 'refresh' }
2841<template >
2942 <div >
3043 <PrimeInput
44+ class =" space-x-2 items-center"
3145 header =" PrimeRadioButton" :schema =" schema" :data =" data"
3246 :prime-attributes =" primeAttributes" :custom-attributes =" customAttributes"
3347 />
0 commit comments