BorisMoore/jsviews — Issue #23: Radio buttons with checked="checked" are not rendered checked
Author: bzuidgeest
Created: 2011-12-29 16:35:16+00:00
State: open

I'm trying to build a page that has a template that contains multiple radio button groups. The problem is that when the template renders the radio buttons that have the checked property in the source HTML are not visually checked in the browser. Unfortunately I cannot include a screenshot here to show it, but my test page is below. Groups with names ending in 1 to 3 are rendered by the template engine. 4 to 6 are plain HTML. 4 to 6 show fine 1-3 do not. This behavior is the same across Firefox, chrome and IE9. During my test I noticed that some browsers (FF) were showing the same problem in rendering checked on the no-template HTML groups if I omitted the form tags. Maybe I'm missing something obvious, If so don't hesitate to point it out to me.

btw. the missing docs on jsrender and view plugin forces me to look thru the source code of the plugins to identify the features and figure out their use. I have learned a few thing things from that! It's a great plugin.

test

Not Specified

40

50

Not Specified

60

40

All

Offered

Wanted

Not Specified

40

50

Not Specified

60

40

All

Offered

Wanted

Not Specified

40

50

Not Specified

60

40

All

Offered

Wanted