CodeBeamOrg / CodeBeam.MudBlazor.Extensions

Useful third party extension components for MudBlazor, from the contributors.
https://mudextensions.codebeam.org/
MIT License
407 stars 66 forks source link

MudSignaturePad - Sync Value to be empty when the Clear button is fired #341

Closed NerdyJ23 closed 8 months ago

NerdyJ23 commented 9 months ago

When clicking the Clear button on the MudSignaturePad the Value param is never updated/emptied even though the canvas appears blank, meaning that if you draw, then clear the canvas, then save/download, instead of a blank canvas you will get the state before the clear.

This update just empties the Value param and fires the ValueChanged event to ensure anything hooked in will be synched too

mckaragoz commented 8 months ago

Thanks 🥇