Displaying yes or no in the CRUD

I have a column in my table called COMPLETE which is an int. ZERO is equal to no and one is equal to yes. I’d like the value in the CRUD to appear as yes or no, rather than zero or one. How do i do this? Is there some way to use setField to allow the value (in the crud) to appear as YES or NO wo having to change the schema to text?

Use callBack…

I have this:

		$crud->fieldType('complete', 'dropdown', [
			'0' => 'no',
			'1' => 'yes'
		]);

altough for some reason in the latest update it does not display ‘no’ in the column view anymore.

Hello
Use field_type true_false
Field_type

Thanks. I don’t see true_false as a choice under fieldType. fieldType | Grocery CRUD