Update api-gen and doc of InputNumber

pull/1527/head
mertsincan 2021-09-06 14:02:23 +03:00
parent 75e14a66d4
commit 906f3be7a5
2 changed files with 15 additions and 3 deletions

View File

@ -125,6 +125,12 @@ const InputNumberProps = [
default: "1", default: "1",
description: "Step factor to increment/decrement the value." description: "Step factor to increment/decrement the value."
}, },
{
name: "allowEmpty",
type: "boolean",
default: "true",
description: "Determines whether the input field is empty."
},
{ {
name: "inputStyle", name: "inputStyle",
type: "any", type: "any",

View File

@ -260,6 +260,12 @@ Vertical
<td>1</td> <td>1</td>
<td>Step factor to increment/decrement the value.</td> <td>Step factor to increment/decrement the value.</td>
</tr> </tr>
<tr>
<td>allowEmpty</td>
<td>boolean</td>
<td>true</td>
<td>Determines whether the input field is empty.</td>
</tr>
<tr> <tr>
<td>inputStyle</td> <td>inputStyle</td>
<td>any</td> <td>any</td>
@ -506,7 +512,7 @@ export default {
} }
} }
<\\/script> <\\/script>
` `
}, },
'composition-api': { 'composition-api': {
tabName : 'Composition API Source', tabName : 'Composition API Source',
@ -641,12 +647,12 @@ export default {
const value19 = ref(25); const value19 = ref(25);
const value20 = ref(50); 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 } value11, value12, value13, value14, value15, value16, value17, value18, value19, value20 }
} }
} }
<\\/script> <\\/script>
` `
} }
} }
} }