Fixed some broken forms

This commit is contained in:
Thaum Rystra
2020-05-21 14:57:35 +02:00
parent c4a52ca744
commit 26d836767b
4 changed files with 5 additions and 4 deletions

View File

@@ -5,6 +5,7 @@ import TextField from '/imports/ui/components/global/TextField.vue';
import TextArea from '/imports/ui/components/global/TextArea.vue';
import SmartSelect from '/imports/ui/components/global/SmartSelect.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';
Vue.component('DatePicker', DatePicker);
@@ -12,4 +13,5 @@ Vue.component('TextField', TextField);
Vue.component('TextArea', TextArea);
Vue.component('SmartSelect', SmartSelect);
Vue.component('SmartCombobox', SmartCombobox);
Vue.component('SmartCheckbox', SmartCheckbox);
Vue.component('SmartSwitch', SmartSwitch);

View File

@@ -82,7 +82,6 @@
:value="model.reset"
:error-messages="errors.reset"
:menu-props="{auto: true, lazy: true}"
:debounce-time="debounceTime"
@change="change('reset', ...arguments)"
/>
</form-section>

View File

@@ -32,10 +32,10 @@
<script>
import propertyFormMixin from '/imports/ui/properties/forms/shared/propertyFormMixin.js';
export default {
mixins: [propertyFormMixin],
data(){return {
mixins: [propertyFormMixin],
damageTypes: [
{
value: 'bludgeoning',

View File

@@ -1,7 +1,7 @@
export default {
props: {
model: {
type: Object,
type: [Object, Array],
default: () => ({}),
},
errors: {