From 0845cf18981ad20880758f6933be6cc6814e93fb Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Thu, 19 Mar 2020 19:57:38 +0000 Subject: [PATCH] --- ayanova/src/components/pick-list.vue | 6 ++++-- ayanova/src/views/home-dashboard.vue | 8 ++++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ayanova/src/components/pick-list.vue b/ayanova/src/components/pick-list.vue index 49014dd5..d6267951 100644 --- a/ayanova/src/components/pick-list.vue +++ b/ayanova/src/components/pick-list.vue @@ -4,7 +4,7 @@ v-model="selected" return-object :items="searchResults" - :label="Label" + :label="label" item-text="name" item-value="id" item-disabled="!active" @@ -38,11 +38,13 @@ //NOTE: have to import lodash directly here as no combination was working with the window.$gz._ //it would not recognize window in the function call import _ from "../libs/lodash.min.js"; +//todo: drop down get default 100 on non-search //todo: empty item support //todo: custom filter (highlight in results) that works with tags (ignore tag part and filter as normal) //todo: validation error is obscured by no-data element //todo: set actual seleted ID value from our local selected whole object so outer form just gets id //todo test multiple selection +//todo: search only property that forces user to search vs just drop down and get default 100 export default { created() { @@ -95,7 +97,7 @@ export default { type: Boolean, default: false }, - Label: { type: String, default: "" } + label: { type: String, default: "" } }, watch: { searchEntry(val) { diff --git a/ayanova/src/views/home-dashboard.vue b/ayanova/src/views/home-dashboard.vue index 7144fe93..aac180d9 100644 --- a/ayanova/src/views/home-dashboard.vue +++ b/ayanova/src/views/home-dashboard.vue @@ -3,11 +3,15 @@ - +
FORM Selected Widget: {{ selectedWidget }}