Jank1310 / datadolphin

Open source csv/xlsx importer
MIT License
2 stars 0 forks source link

New messages are not returned when column has unique validator #66

Closed Jank1310 closed 9 months ago

Jank1310 commented 9 months ago

Expected: Return new messages for cell if column has unique validator.

Jank1310 commented 9 months ago

@Flofie Wäre es nicht einfacher im Updatehandler eine revalidate Funktion aufzurufen und dieser sowas wie changes: {rowId:string, columnId:string}[] zu übergeben? Dann kann diese Funktion prüfen, wie neu validiert werden sollte und auch die new Messages für die changes zurückgeben.

Flofie commented 9 months ago

We need to better refine this. This is what we agreed on. If there is a unique validator, then chnageCoumn is returned (not newMessages) and the whole page is reloaded.

Jank1310 commented 9 months ago

Yes, but the data is reloaded in background and in the meantime it is not possible to update the messages of the edit cell to get a quicker feedback for the new value. I added a workaround for now :) #67