Commit a86aab9
authored
early return if no help defined (rjsf-team#4816)
When `fieldPathId` is undefined, `helpId` will throw an undefined value error.
The other `FieldHelpTemplate.tsx` files guard against this with an early return.
Found this while trying the Mantine theme with a quickstart/simple string schema and it would not load the form because of this.1 parent eb7e928 commit a86aab9
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 | | |
16 | 20 | | |
17 | | - | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
| |||
0 commit comments