jbartula

Results 7 comments of jbartula

No. The Author of this package needs to update it for the breaking changes in MudBlazor.

It would be nice if you could just make the ` internal CellValue(object? data, CellValueType cellValueType)` constructor public. This would solve the issue. Thanks.

Yes that's a possible alternative, but introduces more code (1 more line per each). I currently just use a second switch at the bottom that calls CellValue.Logical, CellValue.Text, etc. depending...

After the latest update, this bug reappared, with using `CellValue.Text()`. ![Image](https://github.com/user-attachments/assets/b7870160-2748-43ce-9190-925085403236) Hit enter ![Image](https://github.com/user-attachments/assets/baa4f94d-c0a0-45e6-a6e5-53b12e97fba4) And it cuts off the zero, despite the cell type being Text

This is a workaround: ``` sheet.Cells.BeforeCellValueConversion += (sender, args) => { if (sheet.Cells[args.Row, args.Column].ValueType == CellValueType.Text) { args.NewValue = CellValue.Text(args.OriginalValue?.ToString() ?? string.Empty); } }; ```

As a workaround, I wrapped the Component in an ErrorBoundary: ``` //sheet here @{ new Task(async () => await _vm.SavePageData().ConfigureAwait(false)).RunSynchronously(); navigationManager.Refresh(true); } ``` But obviously, this is trash. May be...