-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Does the combobox/bandbox provide any support for bootstrap styling? I am trying to declare a bootstrap form as follows and the combobox is not rendered properly. Also, there is no "bs" mold for combobox or bandbox.
<n:form class="form-horizontal" role="form">
<n:div class="form-group">
<n:label for="txtMail3" class="col-sm-3 control-label">User name</n:label>
<n:div class="col-sm-8">
<textbox id="txtMail3" class="form-control input-sm" />
</n:div>
</n:div>
<n:div class="form-group">
<n:label for="txtPassword3" class="col-sm-3 control-label">Password</n:label>
<n:div class="col-sm-8">
<textbox id="txtPassword3" type="password" class="form-control input-sm" />
</n:div>
</n:div>
<n:div class="form-group">
<n:label for="txtRole" class="col-sm-3 control-label">Role</n:label>
<n:div class="col-sm-8">
<combobox id="txtRole" sclass="form-control input-sm" />
</n:div>
</n:div>
</n:form>
Thanks /costas
Hello cyiannoulis,
If you try to declare a bootstrap form, you could use listbox
in select mold, combine checkbox
and textbox
then apply the bootstrap css as below.
<!-- Bootstrap like Checkbox -->
<div sclass="input-group">
<checkbox sclass="input-group-addon"/>
<textbox sclass="form-control"/>
</div>
<!-- Bootstrap like Selects -->
<listbox mold="select" sclass="form-control">
<listitem label="1"/>
<listitem label="2"/>
<listitem label="3"/>
<listitem label="4"/>
<listitem label="5"/>
</listbox>
I hope this would be helpful.
Does somebody know how to put a placeholder value to the listbox that @RaymondChao posted?
It's a pitty that I can't :(
Asked: 2014-01-14 13:42:14 +0800
Seen: 154 times
Last updated: May 20 '16