Constructor
new FormGroup(optionsopt)
Constructor
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
options |
object |
<optional> |
- Source:
Extends
- Template
Methods
createInput(data) → {FormGroup}
Create an input or select from data
Parameters:
Name | Type | Description |
---|---|---|
data |
object |
- Source:
Returns:
- Type
- FormGroup
setInput($input) → {FormGroup}
Set the input into the input wrapper
Parameters:
Name | Type | Description |
---|---|---|
$input |
FormInput | FormSelect | jQuery |
- Source:
Returns:
- Type
- FormGroup
setLabel(label) → {FormGroup}
Set the label
Parameters:
Name | Type | Description |
---|---|---|
label |
jQuery | string |
- Source:
Returns:
- Type
- FormGroup