Datatable Editor Clear Field Error
Datatable Editor Clear Field Error
loloski
Posts: 46Questions: 5Answers: 1
Hi Guys,
Sorry if this has been asked for a few times, but I can't seems to find on the documentation on how to clear an error on a certain field, using jquery selector can do the trick and remove error has-error class but it's not clean though, Is there any function on datatable editor to accomplish this?
Thanks!!
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
The
field().error()
method with an empty string passed into theerror()
part should clear it - e.g.:Allan
Yeah thanks