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
properties: { product: { type: 'string', title: '产品线', 'x-decorator': 'FormItem', 'x-component': 'ProductSelect', 'x-component-props': { all: true, fieldNames: { label: 'cn_name', value: 'id' }, onChange: () => { tableRef.current?.reload(true); }, }, }, module: { type: 'array', title: '模块', 'x-decorator': 'FormItem', 'x-component': 'ModuleCascader2', 'x-component-props': { fieldNames: { label: 'cn_name', value: 'id' }, mode: 'multiple',
product: {{$record.product}} }, }, }
{{$record.product}}
触发form的重置后为啥$record.product传给组件的值还是存在的或者说是上一次的值
重置后product传的希望是空
@formily/reactive@2.3.1
The text was updated successfully, but these errors were encountered:
properties: { product: { type: 'string', title: '产品线', 'x-decorator': 'FormItem', 'x-component': 'ProductSelect', 'x-component-props': { all: true, fieldNames: { label: 'cn_name', value: 'id' }, }, }, module: { type: 'array', title: '模块', 'x-decorator': 'FormItem', 'x-component': 'ModuleCascader2', 'x-component-props': { fieldNames: { label: 'cn_name', value: 'id' }, mode: 'multiple', product: {{$record.product}}, }, }, }
Sorry, something went wrong.
No branches or pull requests
Reproduction link
Steps to reproduce
product:
{{$record.product}}
},
},
}
What is expected?
触发form的重置后为啥$record.product传给组件的值还是存在的或者说是上一次的值
What is actually happening?
重置后product传的希望是空
Package
@formily/reactive@2.3.1
The text was updated successfully, but these errors were encountered: