MCPcopy Index your code
hub / github.com/apache/echarts / resetSelectInputSubInputsDisabled

Function resetSelectInputSubInputsDisabled

test/lib/testHelper.js:1372–1383  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1370 }
1371
1372 function resetSelectInputSubInputsDisabled() {
1373 var optionIdx = getSelectInputOptionIndex();
1374 for (var i = 0; i < selectCtx._optionIdxToSubInput.length; i++) {
1375 var subInput = selectCtx._optionIdxToSubInput[i];
1376 if (subInput) {
1377 var disabled = selectCtx._disabled
1378 ? true // Disable all options.
1379 : i !== optionIdx // Disable all except current selected option.
1380 subInput.disable({disabled: disabled});
1381 }
1382 }
1383 }
1384
1385 function makeSelectInputTextByValue(optionDef) {
1386 if (optionDef.hasOwnProperty('value')) {

Callers 3

createSelectInputFunction · 0.85
resetSelectInputDisabledFunction · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…