Skip to content

Commit 485cc3d

Browse files
fixed form comp's resetAfterSuccess doesn't work
1 parent d8ede2f commit 485cc3d

File tree

1 file changed

+0
-5
lines changed
  • client/packages/lowcoder/src/comps/comps/formComp

1 file changed

+0
-5
lines changed

client/packages/lowcoder/src/comps/comps/formComp/formComp.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -330,11 +330,6 @@ let FormTmpComp = class extends FormBaseComp implements IForm {
330330
// For the properties, first find in data, then initialData, subcomponent default value (resetValue), empty value (clearValue)
331331
const newData = { ...(initialData ?? this.children.initialData.getView()), ...data };
332332

333-
// Only proceed if we have data to set
334-
if (!Object.keys(newData).length) {
335-
return Promise.resolve();
336-
}
337-
338333
return this.runMethodOfItems(
339334
{
340335
name: "setValue",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy