We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<Modal> <Form form={form} labelCol={{ style: { flexBasis: 90 }, }} wrapperCol={{ style: { flexBasis: 'calc(100% - 90px)' }, }} > ... <FormItem label={t['menu.form.visible']} field='visible' rules={[{ required: true }]} extra={form.getFieldValue('visible')}> <Switch /> </FormItem> </Form> </Modal>
form.setFieldsValue(record)后,打开弹窗,Form表单中Switch不回显,审查元素发现,这个button元素的value="true",但是class和aria-checked不对,如图 有问题的:
form.setFieldsValue(record)
点击完正确打开的:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Basic Info
form.setFieldsValue(record)
后,打开弹窗,Form表单中Switch不回显,审查元素发现,这个button元素的value="true",但是class和aria-checked不对,如图有问题的:
点击完正确打开的:
The text was updated successfully, but these errors were encountered: