Commit 0947b3c
The action params dialog rendered `actionDialog.lookupHelpText` ("no
reference object configured, picker unavailable, paste a record id") for
EVERY lookup/reference param without a custom helpText — even when
`reference` was configured and the record picker worked. The condition
only checked "is a lookup param"; the degradation it describes lives in
paramToField() (lookup + no referenceTo → text input) and was never
consulted.
Gate the message on `field.type === 'text'`, mirroring the adjacent
lookupPlaceholder branch that already checks it. Tests pin all three
states: working picker → no warning; targetless param → text input +
warning; custom helpText → custom text wins.
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent 7f23cd0 commit 0947b3c
2 files changed
Lines changed: 23 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
187 | 209 | | |
188 | 210 | | |
189 | 211 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
| 280 | + | |
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
| |||
0 commit comments