From 93eea7b5926aae36698b8b709d84316e4c9851c3 Mon Sep 17 00:00:00 2001 From: Jimmy Huang Date: Thu, 4 Jul 2024 14:29:35 +0800 Subject: [PATCH] refs #40707, correct typo of mdFormElement when using select --- js/Common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/Common.js b/js/Common.js index 3142513bd..5fbcae6ae 100644 --- a/js/Common.js +++ b/js/Common.js @@ -865,7 +865,7 @@ function mdFormElement(type, label, attr){ var id; for(i in attr) { if(type == 'select' && i == 'values') { - opt = values; + opt = attr[i]; continue; } if(i == 'class') {