(optionIndex)
| 1306 | } |
| 1307 | |
| 1308 | function validateOptionIndex(optionIndex) { |
| 1309 | if (getType(optionIndex) !== 'number' |
| 1310 | || optionIndex < 0 |
| 1311 | || optionIndex >= selectCtx._optionList.length |
| 1312 | ) { |
| 1313 | console.error( |
| 1314 | errMsgPrefix + ' Invalid select, optionIndex: ' + optionIndex + ' is out if range.' |
| 1315 | + ' May caused by test case change.' |
| 1316 | ); |
| 1317 | return false; |
| 1318 | } |
| 1319 | return true; |
| 1320 | } |
| 1321 | |
| 1322 | function setSelectInputInitValue(inputDefine) { |
| 1323 | var initOptionIdx = 0; |
no outgoing calls
no test coverage detected
searching dependent graphs…