You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
changed the title [-]chore(table): EditDialog弹窗中复合对象属性不为空验证问题[/-][+]chore(table): EditDialog弹窗中复合对象属性不为空验证及编辑弹窗中通过id后台数据库取数赋值后保存提示为null[/+]on Jan 17, 2026
changed the title [-]chore(table): EditDialog弹窗中复合对象属性不为空验证及编辑弹窗中通过id后台数据库取数赋值后保存提示为null[/-][+]EditDialog 弹窗中复合对象属性不为空验证及编辑弹窗中通过id后台数据库取数赋值后保存提示为null[/+]on Jan 17, 2026
Activity
bb-auto commentedon Jan 16, 2026
@Tony-ST0754 Thank you for submitting. We will give feedback later.
Tony-ST0754 commentedon Jan 17, 2026
第2个Demo,通过ID在编辑弹窗中从数据库获取要编辑的数据,复现对象相应属性为null
BlazorApp2--通过ID后台取数.zip
[-]chore(table): EditDialog弹窗中复合对象属性不为空验证问题[/-][+]chore(table): EditDialog弹窗中复合对象属性不为空验证及编辑弹窗中通过id后台数据库取数赋值后保存提示为null[/+]Tony-ST0754 commentedon Jan 17, 2026
Demo2的问题,难道是从后台取数后,不能直接
是需要
Tony-ST0754 commentedon Jan 17, 2026
还真是这样,传到编辑弹窗里面的对象,不能重new它,Model = await GetDateAsync();这样相当于重新new它了
web,让我有了新的认知
Tony-ST0754 commentedon Jan 17, 2026
搞定,已通过AutoMap,搞定了
[-]chore(table): EditDialog弹窗中复合对象属性不为空验证及编辑弹窗中通过id后台数据库取数赋值后保存提示为null[/-][+]EditDialog 弹窗中复合对象属性不为空验证及编辑弹窗中通过id后台数据库取数赋值后保存提示为null[/+]