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
<Form fields={{ selectField: { children: ( <Select> <Select.Option value="w">Choose an item...</Select.Option> <Select.Option value="1">One</Select.Option> <Select.Option value="2">Two</Select.Option> <Select.Option value="3">Three</Select.Option> <Select.Option value="4">Four</Select.Option> </Select> ), onChange: (e => console.log(e.target.value)) }, }} > {({ fields }) => { return ( <div> {fields.selectField} </div> ) }} </Form>
onChange: (e => console.log(e.target.value)) 会提示ts错误 类型“EventTarget”上不存在属性“value”。ts(2339)
onChange: (e => console.log(e.target.value))
The text was updated successfully, but these errors were encountered:
fix(Form): 修复 onChange 回调函数中 even 类型错误 #577 (#580)
c139d18
@xingyuefeng 已在v4.13.3版本中修复
Sorry, something went wrong.
No branches or pull requests
onChange: (e => console.log(e.target.value))
会提示ts错误 类型“EventTarget”上不存在属性“value”。ts(2339)The text was updated successfully, but these errors were encountered: