Skip to content

Commit 70746c9

Browse files
Fix distinct option override on playground (GH-118)
2 parents 72c04d6 + b028b56 commit 70746c9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

examples/antd4.x/src/Demo.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ const Demo = () => {
165165
<Form form={form} onFinish={handleFinish}>
166166
<FormItem name="phone" rules={[{validator}]}>
167167
<PhoneInput
168+
distinct={distinct}
168169
disabled={disabled}
169170
enableArrow={arrow}
170171
enableSearch={search}

examples/antd5.x/src/Demo.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ const Demo = () => {
170170
<Form form={form} onFinish={handleFinish}>
171171
<FormItem name="phone" rules={[{validator}]}>
172172
<PhoneInput
173+
distinct={distinct}
173174
disabled={disabled}
174175
enableArrow={arrow}
175176
enableSearch={search}

0 commit comments

Comments
 (0)