nos-forms-jquery
Version:
Build and validate DRY html forms in minutes with JSON, jQuery and Bootstrap
54 lines (40 loc) • 917 B
Markdown
# Property #
## inputGroup ##
Render your text element as a Bootstrap input group.
#### Input Group with text addons ####
```javascript
"inputGroup": {
"size": "large",
"left": {
"text": "$",
"classname": "yourAddonClassName"
},
"right": {
"text": ".00",
"classname": "yourOtherAddonClassName"
}
}
```
#### Input Group with button addons ####
```javascript
"inputGroup": {
"left": {
"button": "Your Button Text",
"classname": "btn btn-primary"
},
"right": {
"button": "Your Other Button",
"classname": "btn btn-success"
}
}
```
#### Input Group with glyphicon addons ####
```javascript
"inputGroup": {
"size": "small",
"left": {
"text": "<i class='glyphicon glyphicon-euro'></i>",
"classname": "yourAddonClassName"
}
}
```