Hey, I've been testing the radio button feature in Dijit, and I can't seem to mimic the look of the radio button in the examples. When I import the dijit tundra css stylesheet in, I don't get the bloated button look, but I don't get the radio button itself. When I don't import the tundra css sheet I get the bloated button look, but I do get the radio button. How do I get rid of the bloated button look and still get the radio button? Also I am embedding the dojo in php using echo. Would that cause problems at all?
radio button
Setting 'label' when programmatically create RadioButton does nothing
Submitted by almfwcna on Wed, 12/05/2007 - 16:10.
var paramsRb = {id: "rb1", name: "rb", title: "Select Annabelle", label: "Annabelle", value: "1"};
var widgetRb = new dijit.form.RadioButton(paramsRb);
var widgetRb = new dijit.form.RadioButton(paramsRb);
It seems silly to let people set the label but it doesn't do anything. I had to manually create "span" element that contains the label string and append to each radio button.
- Login or register to post comments
- Unsubscribe post
