This commit is contained in:
@@ -215,7 +215,7 @@
|
||||
<div>
|
||||
<v-tabs grow color="primary">
|
||||
<v-tab>URL</v-tab>
|
||||
<v-tab>{{ $ay.t("File") }}</v-tab>
|
||||
<v-tab>{{ $ay.t("Attachments") }}</v-tab>
|
||||
|
||||
<v-tab-item
|
||||
><div class="ma-6">
|
||||
@@ -230,7 +230,18 @@
|
||||
></v-tab-item>
|
||||
<v-tab-item
|
||||
><div class="ma-6">
|
||||
FILE SELECT HERE FILE UPLOAD HERE
|
||||
<v-select
|
||||
:label="$ay.t('Attachments')"
|
||||
v-model="selectedImageAttachment"
|
||||
:items="availableAttachments()"
|
||||
item-text="name"
|
||||
item-value="id"
|
||||
></v-select>
|
||||
<!--
|
||||
<v-file-input
|
||||
:label="$ay.t('AttachFile')"
|
||||
prepend-icon="fa-paperclip"
|
||||
></v-file-input> -->
|
||||
|
||||
<v-text-field
|
||||
v-model="imageText"
|
||||
@@ -352,12 +363,14 @@ export default {
|
||||
linkText: "",
|
||||
imageMenu: false,
|
||||
imageUrl: "",
|
||||
imageText: ""
|
||||
imageText: "",
|
||||
selectedImageAttachment: null
|
||||
};
|
||||
},
|
||||
props: {
|
||||
value: String,
|
||||
readOnly: Boolean
|
||||
readOnly: Boolean,
|
||||
attachments: Array
|
||||
},
|
||||
watch: {
|
||||
value(value) {
|
||||
@@ -740,6 +753,13 @@ export default {
|
||||
this.$nextTick(() => {
|
||||
this.imageMenu = true;
|
||||
});
|
||||
},
|
||||
availableAttachments() {
|
||||
return [
|
||||
{ id: 0, name: "Stub attachment one" },
|
||||
{ id: 1, name: "Stub attachment two" },
|
||||
{ id: 2, name: "Stub attachment three" }
|
||||
];
|
||||
}
|
||||
}
|
||||
};
|
||||
@@ -763,6 +783,7 @@ todo: Undo / redo (ctrl-z / ctrl-y) ability?
|
||||
todo: wiki controls showing before widget form has loaded causing annoying ability to click but then doesn't work right away
|
||||
- wiki controls (and indeed nothing at all) should show on form until the object is finished loading
|
||||
|
||||
todo: widget form, remove wiki menu option
|
||||
|
||||
todo: Add wikiContent field to form defintions at server so can hide or show in form customization
|
||||
- Also for dataLists? (for reporting not grid I mean)
|
||||
|
||||
Reference in New Issue
Block a user