admin_data icon indicating copy to clipboard operation
admin_data copied to clipboard

Boolean with a false value displayed as null

Open tomsquest opened this issue 14 years ago • 3 comments

A boolean column whose value is false will be shown as null (no value) in the select item of the Edit page. When the value is true, the select displayed the right value ('True').

True/False are correctly displayed in the show page. The problem is just in the Edit page, with a false value.

tomsquest avatar Mar 08 '11 09:03 tomsquest

I will take a look at this issue.

neerajsingh0101 avatar Mar 08 '11 13:03 neerajsingh0101

Just fixed this one in my fork (code from tag 1.1.14 because my rails app is under 3.0.x). Will send a pull request.

frahugo avatar Nov 02 '11 20:11 frahugo

@frahugo thanks. that will be awesome.

neerajsingh0101 avatar Nov 02 '11 20:11 neerajsingh0101