bricks/dist/imgs/video-recorder.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
821 B
XML

<svg t="1759155570691" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5752" width="100%" height="100%"><path d="M945.6 323.52l-211.52 105.6A96 96 0 0 0 640 352a160 160 0 1 0-192 0H275.84a128 128 0 1 0-165.44 1.92A96 96 0 0 0 32 448v384a96 96 0 0 0 96 96h512a96 96 0 0 0 94.08-77.12l211.52 105.6A32 32 0 0 0 992 928V352a32 32 0 0 0-46.4-28.48zM448 224a96 96 0 1 1 96 96 96 96 0 0 1-96-96zM192 192a64 64 0 1 1-64 64 64 64 0 0 1 64-64z m480 640a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V448a32 32 0 0 1 32-32h512a32 32 0 0 1 32 32z m256 44.16l-192-96v-280.32l192-96z" fill="#8a8a8a" p-id="5753"></path><path d="M416 480H224a64 64 0 0 0-64 64v192a64 64 0 0 0 64 64h192a64 64 0 0 0 64-64v-192a64 64 0 0 0-64-64z m-192 256v-192h192v192z" fill="currentColor" p-id="5754"></path></svg>