-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
✔️ Resolution: AnsweredResolved because the question asked by the original author has been answered.Resolved because the question asked by the original author has been answered.Status: Resolvedarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor Componentsquestion
Description
Is there an existing issue for this?
- I have searched the existing issues
Is your feature request related to a problem? Please describe the problem.
I would like to specify a before binding function so I can capture state before a binding operation is performed
Describe the solution you'd like
I think since @bind-Value:after
exists as an attribute for various inputs than @bind-Value:before
would not seem out of place.
Additional context
I would like to capture pre-binding changes for models and implement "undo" functionality. This would replace INotifyProperyChanged within blazor for this use case.
Metadata
Metadata
Assignees
Labels
✔️ Resolution: AnsweredResolved because the question asked by the original author has been answered.Resolved because the question asked by the original author has been answered.Status: Resolvedarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor Componentsquestion