UNPKG

@paperbits/forms

Version:
25 lines (23 loc) 1.16 kB
<div class="form-group"> <label class="form-label"> Label <button class="btn btn-info" role="tooltip" data-bind="tooltip: 'Text on the button'"></button> </label> <input type="text" class="form-control" data-bind="textInput: label" maxlength="256" /> </div> <div class="form-group"> <label for="appearanceStyle" class="form-label"> Appearance <button class="btn btn-info" role="tooltip" data-bind="tooltip: 'Predefined appearance from style guide.'"></button> </label> <select id="appearanceStyle" class="form-control" data-bind="options: appearanceStyles, value: appearanceStyle, optionsText: 'displayName', optionsValue: 'key'"></select> </div> <!-- <div class="form-group"> <label for="sizeStyle" class="form-label"> Size <button class="btn btn-info" role="tooltip" data-bind="tooltip: 'Predefined size from style guide.'"></button> </label> <select id="sizeStyle" class="form-control" data-bind="options: sizeStyles, value: sizeStyle, optionsText: 'displayName', optionsValue: 'key'"></select> </div> -->