Fixed some broken forms
This commit is contained in:
@@ -5,6 +5,7 @@ import TextField from '/imports/ui/components/global/TextField.vue';
|
|||||||
import TextArea from '/imports/ui/components/global/TextArea.vue';
|
import TextArea from '/imports/ui/components/global/TextArea.vue';
|
||||||
import SmartSelect from '/imports/ui/components/global/SmartSelect.vue';
|
import SmartSelect from '/imports/ui/components/global/SmartSelect.vue';
|
||||||
import SmartCombobox from '/imports/ui/components/global/SmartCombobox.vue';
|
import SmartCombobox from '/imports/ui/components/global/SmartCombobox.vue';
|
||||||
|
import SmartCheckbox from '/imports/ui/components/global/SmartCheckbox.vue';
|
||||||
import SmartSwitch from '/imports/ui/components/global/SmartSwitch.vue';
|
import SmartSwitch from '/imports/ui/components/global/SmartSwitch.vue';
|
||||||
|
|
||||||
Vue.component('DatePicker', DatePicker);
|
Vue.component('DatePicker', DatePicker);
|
||||||
@@ -12,4 +13,5 @@ Vue.component('TextField', TextField);
|
|||||||
Vue.component('TextArea', TextArea);
|
Vue.component('TextArea', TextArea);
|
||||||
Vue.component('SmartSelect', SmartSelect);
|
Vue.component('SmartSelect', SmartSelect);
|
||||||
Vue.component('SmartCombobox', SmartCombobox);
|
Vue.component('SmartCombobox', SmartCombobox);
|
||||||
|
Vue.component('SmartCheckbox', SmartCheckbox);
|
||||||
Vue.component('SmartSwitch', SmartSwitch);
|
Vue.component('SmartSwitch', SmartSwitch);
|
||||||
|
|||||||
@@ -82,7 +82,6 @@
|
|||||||
:value="model.reset"
|
:value="model.reset"
|
||||||
:error-messages="errors.reset"
|
:error-messages="errors.reset"
|
||||||
:menu-props="{auto: true, lazy: true}"
|
:menu-props="{auto: true, lazy: true}"
|
||||||
:debounce-time="debounceTime"
|
|
||||||
@change="change('reset', ...arguments)"
|
@change="change('reset', ...arguments)"
|
||||||
/>
|
/>
|
||||||
</form-section>
|
</form-section>
|
||||||
|
|||||||
@@ -34,8 +34,8 @@
|
|||||||
import propertyFormMixin from '/imports/ui/properties/forms/shared/propertyFormMixin.js';
|
import propertyFormMixin from '/imports/ui/properties/forms/shared/propertyFormMixin.js';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
mixins: [propertyFormMixin],
|
||||||
data(){return {
|
data(){return {
|
||||||
mixins: [propertyFormMixin],
|
|
||||||
damageTypes: [
|
damageTypes: [
|
||||||
{
|
{
|
||||||
value: 'bludgeoning',
|
value: 'bludgeoning',
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
model: {
|
model: {
|
||||||
type: Object,
|
type: [Object, Array],
|
||||||
default: () => ({}),
|
default: () => ({}),
|
||||||
},
|
},
|
||||||
errors: {
|
errors: {
|
||||||
|
|||||||
Reference in New Issue
Block a user