Matt LuoM
Convex Community10mo ago
8 replies
Matt Luo

Convex Dashboard erroneously prevents Save in Edit Document UX

Observed Behavior:
Edit document panel shows disabled Save button with a validation message: Please fix the errors above to continue".


Steps to reproduce:
1) RIght click and invoke the menu button
2) Click Edit document

Workaround:
1) the error goes away if you type a valid number
2) Double Click a column and manually type there without invoking the menu button


Expected behavior:
Is Convex dashboard really not going to let me update the picUrl manually, because deleted_at is undefined?
The Edit Document behavior should allow an edit.

We acknowledge undefined is not a type in convex, but it's used to delete data. https://docs.convex.dev/database/types

unset data is typeof undefined.

v.Optional in convex does not work for the null type

So, There is some incompatibility somewhere.
image.png
image.png
All Convex documents are defined as Javascript objects. These objects can have
Data Types | Convex Developer Hub
Was this page helpful?