knockout.js - kncokout, flat ui and bootstrap binding issue -
we using flat ui in project , have ui issues.
- file upload control issue.
- radio buttons/check boxes/drop downs css issue.
file upload:
normal html (design time) when select file it's showing change , remove button file name. whereas in durandal application it's not showing change/remove , file name in control, showing select button only.
html content.
<div class="pull-right col-xs-12 col-sm-6 col-md-6 form-group"> <label>upload condo logo</label> <div class="fileinput fileinput-new" data-provides="fileinput"> <div class="input-group"> <div class="form-control uneditable-input" data-trigger="fileinput"> <span class="fui-clip fileinput-exists"></span> <span class="fileinput-filename"></span> </div> <span class="input-group-btn btn-file"> <span class="btn btn-default fileinput-new" data-role="select-file">select file</span> <span class="btn btn-default fileinput-exists" data-role="change"> <span class="fui-gear"></span> change </span> <input type="file" id="fitest" name="..."> <a href="#" class="btn btn-default fileinput-exists" data-dismiss="fileinput"> <span class="fui-trash"></span> remove </a> </span> </div> </div> </div>
check box/radio button/dropdown
check box:
normal html page displaying proper style , color.
in project, controls not displaying , binding not working. if remove css working fine.
durandal page html
<input type="checkbox" class="case" name="case" value="1" data-bind="checked: $parent.selectedcondos, attr: { value : id }" />
please me fix issue.
Comments
Post a Comment