Showing
1 changed file
with
7 additions
and
0 deletions
| @@ -59,6 +59,13 @@ const FormSelectMain: React.FC<FormSelectProps>= (props)=> { | @@ -59,6 +59,13 @@ const FormSelectMain: React.FC<FormSelectProps>= (props)=> { | ||
| 59 | 59 | ||
| 60 | useEffect(() => { | 60 | useEffect(() => { |
| 61 | if (!value || !Object.keys(value || {})?.length || !value?.formId) { | 61 | if (!value || !Object.keys(value || {})?.length || !value?.formId) { |
| 62 | + setItem({ | ||
| 63 | + flag: 'SINGLE', | ||
| 64 | + code: '', | ||
| 65 | + appId: appId || '', | ||
| 66 | + name: '', | ||
| 67 | + appName: '' | ||
| 68 | + }); | ||
| 62 | return; | 69 | return; |
| 63 | } | 70 | } |
| 64 | 71 |