Fatal Error: Object of class DataTables\Editor\ValidateOptions could not be converted to string in
Fatal Error: Object of class DataTables\Editor\ValidateOptions could not be converted to string in
Mr Arslan Jawed
Posts: 9Questions: 6Answers: 1
Hello,
I am receiving following error
"Object of class DataTables\Editor\ValidateOptions could not be converted to string in".
->validator( Validate::maxNum(7,
ValidateOptions::inst()
->message('Maximum size is 7'))
This discussion has been closed.
Replies
Try adding
new
beforeValidateOptions
- see examples here.Cheers,
Colin
Also
maxNum
has the following signature:You are missing the decimal character.
Allan