import LabeledForm from '/_export/code/vuejs/vue3/labeled_form?codeblock=0'; import ComboForm from '/_export/code/vuejs/vue3/combo_form?codeblock=0'; const LabeledComboForm = { template: ` `, components: { labeledForm: LabeledForm, comboForm: ComboForm }, props: { type: { type: String, default: 'text' }, value: { type: String }, buttonLabel: { type: String, default: 'submit' }, buttonEvent: { type: String, default: 'comboClick' }, errors: { type: Array, default: [] }, labelText: { type: String }, formWrapperClasses: { type: Array, default: [] }, formWrapperStyles: { type: Object, default: {} }, labelWrapperClasses: { type: Array, default: [] }, labelWrapperStyles: { type: Object, default: {} }, controlWrapperClasses: { type: Array, default: [] }, controlWrapperStyles: { type: Object, default: {} }, controlClasses: { type: Array, default: [] }, controlStyles: { type: Object, default: {} }, messageWrapperClasses: { type: Array, default: [] }, messageWrapperStyles: { type: Object, default: {} }, 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 LabeledComboForm;