textInput live error

i have textinput which has live(). this input is numberic also in db it is int but when i add some number and next remove it has error
Unsupported operand types: string / float
becouse of its empty string when i remove (i think) how i can fix it?
Was this page helpful?