I want a radio-group on my custom type but how do i do that can someone help? I don't want to change the type to radio-group. it's a plugin from formbuildonline.
'matrix': {
randomize_values: {
label: 'Randomize',
type: 'checkbox'
},
always_correct: {
label: 'Always correct',
type: 'checkbox'
},
feedback: {
label: 'Feedback',
type: 'text',
placeholder: 'Insert feedback for this question here'
},
options: {
label: 'test',
value: [{
label: 'test', value: "World"
}]
}
}
},
templates: {
matrix: function (fieldData) {
return `test`
},
},
fields: [
{
label: 'Matrix',
attrs: {
type: 'matrix',
},
icon: ':'
},
],
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire