fix: previewFields (#3293)
This commit is contained in:
parent
318b433482
commit
cc251b3222
@ -204,7 +204,7 @@ const PreviewCom = (props) => {
|
|||||||
const item = dataSource[index];
|
const item = dataSource[index];
|
||||||
return (
|
return (
|
||||||
<Input
|
<Input
|
||||||
value={item?.uiSchema?.title || text}
|
defaultValue={item?.uiSchema?.title || text}
|
||||||
onChange={(e) =>
|
onChange={(e) =>
|
||||||
handleFieldChange(
|
handleFieldChange(
|
||||||
{ ...item, uiSchema: { ...item?.uiSchema, title: e.target.value, rawTitle: e.target.value } },
|
{ ...item, uiSchema: { ...item?.uiSchema, title: e.target.value, rawTitle: e.target.value } },
|
||||||
|
Loading…
Reference in New Issue
Block a user