Hi, I use the add or edit function but when the input is null I get this error: Is it supposed to work like this?