I replaced some input texts to textarea.
Now when I save the content in database, the textarea is saving a string ” ” in database. As it’s a empty content, I want to save null on database, like it happens with the input text field.
Do you know why this occurs?
I replaced some input texts to textarea. Now when I save the content in
Share
There was two spaces in my element. Take look at the code: