bricks/dist/imgs/worknode.svg
yumoqing 1291f7fee3 fix: UiCode build_options uses valueField/textField fallback to 'value'/'text'
When valueField/textField are not explicitly set in opts, the auto-select
logic (line 1140) and nullable empty-option creation (lines 1144-1145) used
data[0][undefined] which returned undefined, causing:
- Single-option selects to show blank (auto-select failed)
- nullable empty options to have undefined keys

Now extracts vf/tf local variables with ||'value'/||'text' fallback at the
top of build_options(), used consistently throughout.
2026-05-29 23:03:52 +08:00

2 lines
1.3 KiB
XML

<svg t="1748677626636" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5920" width="100%" height="100%"><path d="M554.666667 622.805333h327.125333a14.933333 14.933333 0 0 0 14.208-15.104v-149.76a15.104 15.104 0 0 0-15.061333-15.061333H554.666667a15.104 15.104 0 0 0-15.061334 15.061333v44.416H405.504L305.92 402.773333V320.298667A108.928 108.928 0 0 0 276.053333 106.666667a108.928 108.928 0 1 0-29.952 213.632 4.864 4.864 0 0 0 0 1.408v80.426666l-109.226666 109.354667a30.208 30.208 0 0 0 0 42.666667l108.8 109.354666v121.173334a30.037333 30.037333 0 0 0 29.994666 30.165333h263.424v44.714667A15.104 15.104 0 0 0 554.666667 874.666667h327.125333a15.104 15.104 0 0 0 14.208-15.104v-149.76a14.933333 14.933333 0 0 0-15.061333-15.104H554.666667a14.933333 14.933333 0 0 0-15.061334 15.104v44.544h-233.813333v-90.837334L405.333333 562.858667h133.717334v44.842666a14.933333 14.933333 0 0 0 15.616 15.104z" fill="currentColor" p-id="5921"></path><path d="M405.504 502.357333L305.92 402.773333V320.298667A108.928 108.928 0 0 0 276.053333 106.666667a108.928 108.928 0 1 0-29.952 213.632 4.864 4.864 0 0 0 0 1.408v80.426666l-109.226666 109.354667a30.208 30.208 0 0 0 0 42.666667l108.8 109.354666h60.16L405.333333 562.858667l0.170667-60.501334z" fill="#8a8a8a" p-id="5922"></path></svg>