This commit is contained in:
@@ -42,8 +42,20 @@
|
||||
v-model="_self[item.dataKey]"
|
||||
:readonly="readOnly"
|
||||
:label="lt(item.fld)"
|
||||
:ref="item.fld"
|
||||
:error-messages="form().serverErrors(parentVM, item.fld)"
|
||||
auto-grow
|
||||
></v-textarea>
|
||||
|
||||
<!-- <v-textarea
|
||||
v-model="obj.notes"
|
||||
:readonly="this.formState.readOnly"
|
||||
:label="lt('WidgetNotes')"
|
||||
:error-messages="form().serverErrors(this, 'notes')"
|
||||
ref="notes"
|
||||
@change="onChange('notes')"
|
||||
auto-grow
|
||||
></v-textarea> -->
|
||||
</div>
|
||||
<div v-else-if="item.type === 'number'">
|
||||
NUMBER INPUT CONTROL HERE
|
||||
@@ -122,7 +134,8 @@ export default {
|
||||
props: {
|
||||
value: String,
|
||||
formKey: String, //used to grab template from store
|
||||
readOnly: Boolean
|
||||
readOnly: Boolean,
|
||||
parentVM: Object
|
||||
},
|
||||
computed: {
|
||||
c2: {
|
||||
@@ -138,6 +151,10 @@ export default {
|
||||
lt: function(ltkey) {
|
||||
return window.$gz.locale.get(ltkey);
|
||||
},
|
||||
form() {
|
||||
//nothing
|
||||
return window.$gz.form;
|
||||
},
|
||||
GetValueForField: function(dataKey) {
|
||||
if (!this.value) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user