java - horizontal controlgroup with togglebuttons in gwt bootstrap -
i'm trying build gwt bootstrap form boolean values. multiple selectable checkboxes. works.
but find checkboxes ugly , prefer , feel, example buttongroup togglebuttons.
buttongroup don't work in form, think because no form elements.
what options? how can realize number of boolean form elements nicely?
regards markus
buttongroup work in forms. here sample code:
<b:form> <b:controllabel>label name</b:controllabel> <b:textbox placeholder="type something…" /> <b:helpblock>example block-level text here.</b:helpblock> <b:checkbox> check me out</b:checkbox> <b:buttongroup> <b:button toggle="true">sample1</b:button> <b:button toggle="true">sample2</b:button> <b:button toggle="true">sample3</b:button> <b:button toggle="true">sample4</b:button> <b:button toggle="true">sample5</b:button> </b:buttongroup> <b:submitbutton addstylenames="btn">submit</b:submitbutton> </b:form>
Comments
Post a Comment