From 5b4b72147ab6774c85096272656fbf96f638769b Mon Sep 17 00:00:00 2001 From: "WITT-AD\\Micgme" Date: Thu, 9 Feb 2017 18:31:20 +0100 Subject: [PATCH] update docs --- docs/components/Params.vue | 15 ++++++++++++++- src/components/Select.vue | 1 + 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/docs/components/Params.vue b/docs/components/Params.vue index 57c83d1..964db6c 100644 --- a/docs/components/Params.vue +++ b/docs/components/Params.vue @@ -88,7 +88,20 @@ * @type {Function} * @default {null} */ - onChange: Function + onChange: { + type: Function, + default: function (val) { + this.$emit('input', val) + } + }, + + /** + * Sets the id of the input element. + * @type {String} + * @default {null} + */ + inputId: { + type: String } } diff --git a/src/components/Select.vue b/src/components/Select.vue index 4763ca2..c0db55e 100644 --- a/src/components/Select.vue +++ b/src/components/Select.vue @@ -413,6 +413,7 @@ /** * Sets the id of the input element. * @type {String} + * @default {null} */ inputId: { type: String