Skip to content

Commit 1b58598

Browse files
committed
fix(renderer): fixed submitting being stuck when enhancing onSubmit.
1 parent 4cb356e commit 1b58598

File tree

5 files changed

+66
-16
lines changed

5 files changed

+66
-16
lines changed

packages/pf3-component-mapper/src/tests/__snapshots__/input-addon.test.js.snap

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ exports[`<Input Addon> should render group button before input addon correctly 1
8484
"update": [Function],
8585
}
8686
}
87-
onSubmit={[MockFunction]}
87+
onSubmit={[Function]}
8888
render={[Function]}
8989
subscription={
9090
Object {
@@ -760,7 +760,7 @@ exports[`<Input Addon> should render group mixed before input addon correctly 1`
760760
"update": [Function],
761761
}
762762
}
763-
onSubmit={[MockFunction]}
763+
onSubmit={[Function]}
764764
render={[Function]}
765765
subscription={
766766
Object {
@@ -1498,7 +1498,7 @@ exports[`<Input Addon> should render single after input addon correctly 1`] = `
14981498
"update": [Function],
14991499
}
15001500
}
1501-
onSubmit={[MockFunction]}
1501+
onSubmit={[Function]}
15021502
render={[Function]}
15031503
subscription={
15041504
Object {
@@ -1942,7 +1942,7 @@ exports[`<Input Addon> should render single before input addon correctly 1`] = `
19421942
"update": [Function],
19431943
}
19441944
}
1945-
onSubmit={[MockFunction]}
1945+
onSubmit={[Function]}
19461946
render={[Function]}
19471947
subscription={
19481948
Object {
@@ -2385,7 +2385,7 @@ exports[`<Input Addon> should render single button after input addon correctly 1
23852385
"update": [Function],
23862386
}
23872387
}
2388-
onSubmit={[MockFunction]}
2388+
onSubmit={[Function]}
23892389
render={[Function]}
23902390
subscription={
23912391
Object {
@@ -2834,7 +2834,7 @@ exports[`<Input Addon> should render single button before input addon correctly
28342834
"update": [Function],
28352835
}
28362836
}
2837-
onSubmit={[MockFunction]}
2837+
onSubmit={[Function]}
28382838
render={[Function]}
28392839
subscription={
28402840
Object {
@@ -3419,7 +3419,7 @@ exports[`<Input Addon> should render the ultimate input addon correctly 1`] = `
34193419
"update": [Function],
34203420
}
34213421
}
3422-
onSubmit={[MockFunction]}
3422+
onSubmit={[Function]}
34233423
render={[Function]}
34243424
subscription={
34253425
Object {

0 commit comments

Comments
 (0)