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
989 B
XML
2 lines
989 B
XML
<svg t="1749698260805" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="45734" width="100%" height="100%"><path d="M512 725.328A85.328 85.328 0 1 1 512 896a85.328 85.328 0 0 1 0-170.672z m298.672 0a85.328 85.328 0 1 1 0 170.672 85.328 85.328 0 0 1 0-170.672z m-597.344 0a85.328 85.328 0 1 1 0 170.672 85.328 85.328 0 0 1 0-170.672z" fill="${color}" p-id="45735"></path><path d="M512 426.672a85.328 85.328 0 1 1 0 170.656 85.328 85.328 0 0 1 0-170.656z m298.672 0a85.328 85.328 0 1 1 0 170.656 85.328 85.328 0 0 1 0-170.656z m-597.344 0a85.328 85.328 0 1 1 0 170.656 85.328 85.328 0 0 1 0-170.656z" fill="${color}" p-id="45736"></path><path d="M512 128a85.328 85.328 0 1 1 0 170.672A85.328 85.328 0 0 1 512 128z m298.672 0a85.328 85.328 0 1 1 0 170.672 85.328 85.328 0 0 1 0-170.672z" fill="${color}" p-id="45737"></path><path d="M213.328 128a85.328 85.328 0 1 1 0 170.672 85.328 85.328 0 0 1 0-170.672z" fill="#417AE7" p-id="45738"></path></svg>
|