doc: Add "format" prop for time-picker demo (#6197)

The `format` prop is used to format the display value of the time-picker.
Reference from AntDesign official docs: https://github.com/ant-design/ant-design/blob/master/components/time-picker/demo/hide-column.tsx
pull/5629/head^2
Nguyen Ba Hung 2023-01-17 15:55:16 +07:00 committed by GitHub
parent 034f71c005
commit 058bc3622a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ or use `valueFormat` to format.
/>
</a-form-item>
<a-form-item name="time-picker" label="TimePicker" v-bind="config">
<a-time-picker v-model:value="formState['time-picker']" value-format="HH:mm:ss" />
<a-time-picker v-model:value="formState['time-picker']" format="HH:mm:ss" value-format="HH:mm:ss" />
</a-form-item>
<a-form-item
:wrapper-col="{