فهرست منبع

fix set val for select

ncannasse 11 سال پیش
والد
کامیت
201e080760
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      h2d/comp/JQuery.hx

+ 1 - 1
h2d/comp/JQuery.hx

@@ -142,7 +142,7 @@ class JQuery {
 			case "itemlist":
 				cast(c, h2d.comp.ItemList).selected = v;
 			case "select":
-				cast(c, h2d.comp.Select).value = v;
+				cast(c, h2d.comp.Select).setValue(v);
 			default:
 				null;
 			}