From 8abf32ae420d9fcc31e282f56de9580d0e585abe Mon Sep 17 00:00:00 2001 From: Ricky Harkins Date: Tue, 17 Sep 2019 12:08:58 -0500 Subject: [PATCH 1/5] Set disabled flags on inputs --- inputs/abutton.vue | 3 ++- inputs/autocomplete.vue | 4 ++-- inputs/checkbox-group.vue | 3 ++- inputs/checkbox.vue | 4 ++-- inputs/complex-list.vue | 4 ++-- inputs/datepicker.vue | 4 ++-- inputs/inline.vue | 4 ++-- inputs/radio.vue | 3 ++- inputs/range.vue | 4 +++- inputs/segmented-button-segment.vue | 4 ++-- inputs/segmented-button.vue | 5 ++++- inputs/select.vue | 3 ++- inputs/simple-list-input.vue | 4 +++- inputs/simple-list.vue | 4 ++-- inputs/text.vue | 4 ++-- inputs/timepicker.vue | 3 ++- inputs/wysiwyg.vue | 4 ++++ lib/forms/field.vue | 2 +- 18 files changed, 41 insertions(+), 25 deletions(-) diff --git a/inputs/abutton.vue b/inputs/abutton.vue index d25324c7a..8d5d3c04e 100644 --- a/inputs/abutton.vue +++ b/inputs/abutton.vue @@ -4,6 +4,7 @@ color="default" type="secondary" :ariaLabel="args.tooltip" + :disabled="disabled" :icon="args.icon || 'check_circle'" :loading="loading" :tooltip="args.tooltip" @@ -18,7 +19,7 @@ import { revealProp } from '../lib/utils/references'; export default { - props: ['name', 'data', 'schema', 'args', 'initialFocus'], + props: ['name', 'data', 'schema', 'args', 'initialFocus', 'disabled'], components: { UiIconButton }, data() { return { diff --git a/inputs/autocomplete.vue b/inputs/autocomplete.vue index 74860a5f7..58c4c72c4 100644 --- a/inputs/autocomplete.vue +++ b/inputs/autocomplete.vue @@ -1,5 +1,5 @@ diff --git a/inputs/segmented-button-segment.vue b/inputs/segmented-button-segment.vue index 0c99d263d..ba37c0795 100644 --- a/inputs/segmented-button-segment.vue +++ b/inputs/segmented-button-segment.vue @@ -1,5 +1,5 @@