Wednesday, May 30, 2012

Re: Checkbox becomes combox ... why ?

Thanks, but not main problems.
Even if I remove "maybe" items,
same incorrect outputs.

Dennis Lee Bieber於 2012年5月31日星期四UTC+8上午12時09分44秒寫道:
On Wed, 30 May 2012 02:24:53 -0700 (PDT), yillkid <yillkid@gmail.com>
declaimed the following in gmane.comp.python.django.user:

>
> Filed "game_type" is a check box widget, BUT when I render the register
> page,
> It doesn't render to a checkbot but a combobox.
> I don't why, thanks for reading my problem.

        Off-hand... Checkboxes are two-state items: On/Off (Yes/No; 1/0;
checked/unchecked). BUT you are providing a three-state value for it --
how is a checkbox supposed to render "Maybe"?
--
        Wulfraed                 Dennis Lee Bieber         AF6VN
        wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/  

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/Qrf9QVpE7HwJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment