Replies: 4 comments 2 replies
-
@wenlino Thank you for filing this issue. In order for us to investigate this issue, please provide a minimalistic repro project that illustrates the problem. |
Beta Was this translation helpful? Give feedback.
-
@wenlino 看了一下你这没有格式化的代码,大概率不是组件的 |
Beta Was this translation helpful? Give feedback.
-
Table -> TableColumn ->EditTemplate-> 使用 SelectTable 当选中后界面不会改动。我调用内部 的 StateHasChanged函数有效。 |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there an existing issue for this?
Describe the bug
直接执行无效。尝试调用 StateHasChanged方法后有效。
var w = wieidbRef.GetType().GetMethod("StateHasChanged", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance); w.Invoke(wieidbRef, null);
<TableColumn @bind-Field=context.ParentId Visible="false" IsVisibleWhenAdd="true" IsVisibleWhenEdit="true"> <EditTemplate Context="v"> <div class="col-12 col-sm-6"> <SelectTable TItem="WieIdbOrderList" OnQueryAsync="t=>GetParentIdSelectQueryData(t,v)" GetTextCallback="t=>t.OrderName" OnValueChanged="@(async t=>v.ParentId=t.Id)" @bind-Value=pidSelectOrderlist @ref=wieidbRef> <TableColumns Context="ss"> <TableColumn @bind-Field="ss.Id"></TableColumn> <TableColumn @bind-Field="ss.OrderName"></TableColumn> </TableColumns> </SelectTable> </div> </EditTemplate> </TableColumn>
Expected Behavior
No response
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
No response
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions