php - x-editable does not allow zero as valid value -


i trying insert '0' value in x-editable, keep getting 400 bad request. did var_dump , used console debug, not figure out modify script allow '0' valid value. keep in mind value other zero, valid...

here's have far:

array(3) { ["name"]=> string(4) "qnty" ["value"]=> string(1) "0" ["pk"]=> string(1) "5" } 

request method:post status code:400 bad request

name:qnty value:0 pk:6


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -