grantcolley / headway

A .NET 7.0 Blazor framework for building configurable applications fast. Supporting both hosting models, Blazor WebAssembly and Blazor Server, a WebApi for accessing data and an Identity Provider for authentication.
MIT License
35 stars 9 forks source link

Undo the modified css around a component if the model is replaced with a new instance #31

Closed grantcolley closed 2 years ago

grantcolley commented 2 years ago

In "details" documents like TreeDetail and ListDetail if any fields on the currently selected model have been modified the component e.g. textbox will have a green border indicating it has been modified. If the model is replaced with a new instance then the green border must be cleared.