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
502 B
XML
2 lines
502 B
XML
<svg t="1751017528469" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5616" width="100%" height="100%"><path d="M153.6 307.2h250.88l-51.2-76.8H153.6V307.2z m368.64 0H870.4c56.32 0 102.4 46.08 102.4 102.4v435.2c0 56.32-46.08 102.4-102.4 102.4H153.6c-56.32 0-102.4-46.08-102.4-102.4v-614.4c0-56.32 46.08-102.4 102.4-102.4h199.68c35.84 0 66.56 15.36 87.04 46.08L522.24 307.2zM153.6 409.6v435.2h716.8V409.6H153.6z" fill="currentColor" p-id="5617"></path></svg>
|