|
@@ -69,6 +69,7 @@ const WbwDetailParentWidget = ({ data, onChange }: IWidget) => {
|
|
|
return (
|
|
return (
|
|
|
<AutoComplete
|
|
<AutoComplete
|
|
|
options={parentOptions}
|
|
options={parentOptions}
|
|
|
|
|
+ value={data.parent?.value}
|
|
|
onChange={(value: any, option: ValueType | ValueType[]) => {
|
|
onChange={(value: any, option: ValueType | ValueType[]) => {
|
|
|
if (typeof onChange !== "undefined") {
|
|
if (typeof onChange !== "undefined") {
|
|
|
onChange({ field: "parent", value: value });
|
|
onChange({ field: "parent", value: value });
|