You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
[console 17.0.0-rc.0] Action params dialog: lookup param always renders 'no reference object configured' helpText even when reference is set and the picker works #3094
In the record-header action params dialog (RecordDetailView), a lookup-type action param renders the warning helpText "该参数未配置引用对象,无法使用记录选择器。请直接填写记录 ID,或联系管理员修正该动作参数。" (actionDialog.lookupHelpText) unconditionally — even when reference IS configured and the record selector works perfectly.
Repro (17.0.0-rc.0)
Object action with an inline lookup param, canonical spelling per ActionParamSchema:
i.e. the message claiming "reference not configured" is gated only on "param is a lookup and has no custom helpText" — it never checks whether referenceTo resolved. The degradation check that the message describes lives elsewhere (zt(): Rt.has(type) && !e.referenceTo → type='text') and is not part of this condition.
Expected
Show lookupHelpText only when the param actually degraded to the raw-id text input (i.e. referenceTo missing), mirroring the lookupPlaceholder branch which already checks a.type === 'text'.
Impact
Every record-header action with a lookup param permanently displays a scary red-herring telling users the picker is broken and to paste raw record ids; users don't discover the (working) grid picker. Registered on our side as PLAT-DEF-027.
Workaround
Setting a custom helpText on the param suppresses the misreport (the condition includes !t.helpText).
Activity
fix(app-shell): lookup-param helpText only renders when the param act…