react-spreadsheet icon indicating copy to clipboard operation
react-spreadsheet copied to clipboard

Readonly is overwritten when pasted into

Open benediktvaldez opened this issue 4 years ago • 5 comments

readOnly means I can't enter edit mode for a cell, but I can paste content into it and overwrite the value of the cell.

benediktvaldez avatar May 26 '21 12:05 benediktvaldez

What is the behaviour of Google Sheets for such a scenario?

iddan avatar May 30 '21 07:05 iddan

When you create a protected range in Google Sheets (effectively the same as a read-only cell) it's truly not editable. Same for Excel. readOnly should mean literally read-only. It's even worse because if I accidentally paste the wrong value into it, I can't fix it unless I type the original value into another field and copy-paste that back. 😬

benediktvaldez avatar Jun 01 '21 11:06 benediktvaldez

I'm facing the same issue as well and this is a university result list so its a big issue for me

I do have a plan of disabling the particular shortcut somehow on the whole route/page or try some alternative but others are not as good as react spreadsheet is

devAgam avatar Jun 06 '21 08:06 devAgam

PRs are welcome

iddan avatar Jun 06 '21 10:06 iddan

Sure thing i'll try to look into it and if i can find a way to fix it

devAgam avatar Jun 06 '21 11:06 devAgam