Skip to content

Commit 058bc36

Browse files
authored
doc: Add "format" prop for time-picker demo (vueComponent#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
1 parent 034f71c commit 058bc36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/form/demo/time-related-controls.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ or use `valueFormat` to format.
5656
/>
5757
</a-form-item>
5858
<a-form-item name="time-picker" label="TimePicker" v-bind="config">
59-
<a-time-picker v-model:value="formState['time-picker']" value-format="HH:mm:ss" />
59+
<a-time-picker v-model:value="formState['time-picker']" format="HH:mm:ss" value-format="HH:mm:ss" />
6060
</a-form-item>
6161
<a-form-item
6262
:wrapper-col="{

0 commit comments

Comments
 (0)