Answer the question
In order to leave comments, you need to log in
What is the reason for the error that occurs when the field is empty?
There is a field in the form price
Here is the handler
I can not understand the error that occurs if the field is not filled.$product->price = $request->getParam('price');
Invalid datetime format: 1366 Incorrect decimal value: '' for column `myshop`.`products`.`price` at row 1 (SQL: update `products` set `price` = where `id` = 61)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question