I have a table with 2 unique feild : username & email.
My code :
$crud->set_rules('username','Tên đăng nháºp','is_unique[tblpersonnels.username]'); //Tên đăng nháºp is Username(Vietnamese)
Add action is ok, but edit action is report unique error, while i am not change username or email in this feild.
Thanks