ui icon indicating copy to clipboard operation
ui copied to clipboard

Lookup control writes 0 instead of NULL for nullable field

Open mkrecek234 opened this issue 3 years ago • 0 comments

  • You have any Lookup for a field which is nullable in a Form with a connected Model (e.g. via hasOne reference)
  • You have selected an entry of the Lookup and saved.
  • You then select the empty entry of that Lookup and save again

Result: Atk4/Data tries to store 0, instead of NULL. This is wrong, it has to be NULL. Sorry can't provide a quick demo, but this should be straightforward. Funnily, in Dropdown control it works, only in Lookup not.

mkrecek234 avatar Aug 11 '22 12:08 mkrecek234