Browse Source

fix set val for select

ncannasse 11 năm trước cách đây
mục cha
commit
201e080760
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
 			}