Closed eduramme closed 3 months ago
Thanks for describing this bug @eduramme ! Small correction:
The user is unable to delete a text record once it is set in the Edit Records modal. After attempting to delete the record, the blockchain does not modify the fiel, and the record remains in the list.
Here you are actually changing the record on the gateway (a database), not the blockchain.
@pikonha Can you test if this is enabled in the backend? If it's not able to change a record to an empty value, please create an issue to enable that in the backend.
Found the bug (it was a front end bug):
line 412
Bug Report
The user is unable to delete a text record once it is set in the Edit Records modal. After attempting to delete the record, the backend does not modify the field, and the record remains in the list.
Current behavior
The text record remains in the list and is not deleted.
Expected behavior
The text record should be deleted and removed from the list it the user leaves it empty.
Steps to reproduce
Related code
EditRecordsModal
Other info
https://github.com/blockful-io/external-resolver-dapp/pull/97#pullrequestreview-2199693849