bricks/dist/imgs/database.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
733 B
XML

<svg t="1748676392085" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1484" width="100%" height="100%"><path d="M512 1024c-212.032 0-384-85.952-384-192v-108.032C128 830.08 299.968 896 512 896s384-65.92 384-172.032V832c0 106.048-171.968 192-384 192z m0-192c-212.032 0-384-85.952-384-192v-108.032C128 638.08 299.968 704 512 704s384-65.92 384-172.032V640c0 106.048-171.968 192-384 192z m0-192c-212.032 0-384-85.952-384-192v-108.032C128 446.08 299.968 512 512 512s384-65.92 384-172.032V448c0 106.048-171.968 192-384 192z m0-192c-212.032 0-384-85.952-384-192V192c0-106.048 171.968-192 384-192s384 85.952 384 192v64c0 106.048-171.968 192-384 192z" p-id="1485" fill="currentColor"></path></svg>