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.
2 lines
577 B
XML
2 lines
577 B
XML
<svg t="1748861534080" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="97721" width="100%" height="100%"><path d="M928 64H516.16l135.68 128H864v640h-212.16l-135.68 128H928a64 64 0 0 0 64-64V128a64 64 0 0 0-64-64z m-237.12 495.04a91.84 91.84 0 0 0 0-96 846.4 846.4 0 0 0-260.8-260.8 91.84 91.84 0 1 0-96 157.44 626.56 626.56 0 0 1 60.16 43.84l-265.28 20.8a86.4 86.4 0 0 0 0 172.16l266.56 20.8a501.44 501.44 0 0 1-61.12 43.84 91.84 91.84 0 1 0 96 157.44 846.4 846.4 0 0 0 260.48-259.52z" fill="currentColor" p-id="97722"></path></svg>
|