Modified EditForm to return _fixedEditContext via the EditContext parameter (#24007)
* Modified EditForm to return _fixedEditContext via the EditContext parameter. Also added some tests to cover the new functionality * Swapped to boolean to track provided EditContext * Patched ref assembly * Simplified setting _hasSetEditContextExplicitly * Renamed _fixedEditContext to _editContext * Updated null check in OnParametersSet * Simplified check for EditContext updates based on Model changes
显示
- src/Components/Web/ref/Microsoft.AspNetCore.Components.Web.netcoreapp.cs 1 个添加, 1 个删除...Web/ref/Microsoft.AspNetCore.Components.Web.netcoreapp.cs
- src/Components/Web/src/Forms/EditForm.cs 32 个添加, 17 个删除src/Components/Web/src/Forms/EditForm.cs
- src/Components/Web/test/Forms/EditFormTest.cs 120 个添加, 0 个删除src/Components/Web/test/Forms/EditFormTest.cs
加载中
想要评论请 注册 或 登录