Closed ArtyomVancyan closed 1 year ago
When initialValues property is specified for a Form to initiate the form items with default values, and when PhoneInput is changed, its value is getting erased.
initialValues
Form
PhoneInput
<Form initialValues={{phone: {countryCode: 1, areaCode: 702, phoneNumber: "1234567"}}}> <FormItem name="phone"> <PhoneInput/> </FormItem> </Form>
PR:
How to reproduce the issue?
When
initialValues
property is specified for aForm
to initiate the form items with default values, and whenPhoneInput
is changed, its value is getting erased.Versions
PR:
27