Hope Radzen Blazor Studio can comine AddEntity.razor and EditEntity to one EntityPopupEditor.razor, this makes it easy for developers to change the UI in the same place.
enchev
July 17, 2024, 5:43am
2
Hi @robbiexgithub ,
Check this thread for details why we keep both pages separated:
While the UI of both forms might look identical in most cases there are significant differences:
Edit form needs parameter to populate fields, Add creates new instance and parameter is not needed.
Primary keys cannot be edited and are excluded explicitly from the Edit forms while in Add forms sometimes there are needed.
Selecting proper value in lookups is a must in Edit forms while in Add forms this is again not needed.
Add forms can be extended to handle built-in many-to-many relations whil…