mirror of
https://github.com/smartxworks/sunmao-ui.git
synced 2024-11-21 03:15:49 +08:00
add key to SchemaField component to keep input state independent
This commit is contained in:
parent
95459ecee6
commit
3f60e5ba12
@ -130,6 +130,7 @@ export const ComponentForm: React.FC<Props> = observer(props => {
|
||||
<SchemaField
|
||||
schema={cImpl.spec.properties}
|
||||
label=""
|
||||
key={selectedComponent.id}
|
||||
formData={properties}
|
||||
onChange={newFormData => {
|
||||
eventBus.send(
|
||||
|
Loading…
Reference in New Issue
Block a user