import LabeledForm from '/_export/code/vuejs/vue3/labeled_form?codeblock=0'; import RadioForm from '/_export/code/vuejs/vue3/radio_form?codeblock=0'; const LabeledRadioForm = { template: ` `, components: { labeledForm: LabeledForm, radioForm: RadioForm }, props: { value: { type: String }, options: { type: Array, default: [] }, errors: { type: Array, default: [] }, labelText: { type: String }, formWrapperClasses: { type: Array }, formWrapperStyles: { type: Object }, labelWrapperClasses: { type: Array, default: [] }, labelWrapperStyles: { type: Object, default: {} }, controlWrapperClasses: { type: Array, default: [] }, controlWrapperStyles: { type: Object, default: {} }, controlClasses: { type: Array }, controlStyles: { type: Object }, optionClasses: { type: Array }, optionStyles: { type: Object }, messageWrapperClasses: { type: Array }, messageWrapperStyles: { type: Object }, formErrorClass: { type: String, default: 'has-error' }, labelErrorClass: { type: String, default: 'text-danger' }, controlErrorClass: { type: String, default: 'is-invalid' }, messageErrorClass: { type: String, default: 'text-danger' }, }, setup(props, context) { function updateValue(v) { context.emit('update:value', v) } return { updateValue } } }; export default LabeledRadioForm;