Skip to content

number field with unique and nullable index does not update with undefined value #3557

Answered by thetutlage
leocabeza asked this question in Help
Discussion options

You must be logged in to vote

The value will be set to null when you pass null as the value. Also, your model should accept null values. The column type should be

@public woocommerceProduct: number | null

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@leocabeza
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by leocabeza
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants