Fixes bug from #231 caused by the ValueBox component incorrectly thinking the ValueBox node always had a value node present.
This PR also updates the types for the factory function so this type of bug doesn't happen again. Previously the named arguments object type was being wrapped in a Required<>.
Last, this also adds a placeholder for the value field when it is empty in an attempt to increase discoverability a tiny bit.
Fixes bug from #231 caused by the ValueBox component incorrectly thinking the ValueBox node always had a value node present.
This PR also updates the types for the factory function so this type of bug doesn't happen again. Previously the named arguments object type was being wrapped in a
Required<>
.Last, this also adds a placeholder for the value field when it is empty in an attempt to increase discoverability a tiny bit.