From 906f3be7a53b33d903d27beacfbd459d888aac37 Mon Sep 17 00:00:00 2001 From: mertsincan Date: Mon, 6 Sep 2021 14:02:23 +0300 Subject: [PATCH] Update api-gen and doc of InputNumber --- api-generator/components/inputnumber.js | 6 ++++++ src/views/inputnumber/InputNumberDoc.vue | 12 +++++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/api-generator/components/inputnumber.js b/api-generator/components/inputnumber.js index a05117578..c29ec3e20 100644 --- a/api-generator/components/inputnumber.js +++ b/api-generator/components/inputnumber.js @@ -125,6 +125,12 @@ const InputNumberProps = [ default: "1", description: "Step factor to increment/decrement the value." }, + { + name: "allowEmpty", + type: "boolean", + default: "true", + description: "Determines whether the input field is empty." + }, { name: "inputStyle", type: "any", diff --git a/src/views/inputnumber/InputNumberDoc.vue b/src/views/inputnumber/InputNumberDoc.vue index ca9c792d7..5b7b4745a 100755 --- a/src/views/inputnumber/InputNumberDoc.vue +++ b/src/views/inputnumber/InputNumberDoc.vue @@ -260,6 +260,12 @@ Vertical 1 Step factor to increment/decrement the value. + + allowEmpty + boolean + true + Determines whether the input field is empty. + inputStyle any @@ -506,7 +512,7 @@ export default { } } <\\/script> -` +` }, 'composition-api': { tabName : 'Composition API Source', @@ -641,12 +647,12 @@ export default { const value19 = ref(25); const value20 = ref(50); - return { value1, value2, value3, value4, value5, value6, value7, value8, value9, value10, + return { value1, value2, value3, value4, value5, value6, value7, value8, value9, value10, value11, value12, value13, value14, value15, value16, value17, value18, value19, value20 } } } <\\/script> -` +` } } }