()
| 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')) { |
no test coverage detected
searching dependent graphs…