How we can prevent null value in a nullable input field? #1077
Unanswered
huyhqvmogroup
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I just want to update exactly the fields the user submits, but the
nullableoption allowsnullvalues and they can be unexpectedly updated tonullin my database.In some cases, I may also want to update fields to
nullas a way to unset such fieldsWe can use custom validation but it seems to be ignored by
nullableoptionWhat should I do? or something wrong in my mindset?
Beta Was this translation helpful? Give feedback.
All reactions