@kpsys/angularjs-value-editor
v2.8.3
Published
Dynamically created inputs for AngularJS
Downloads
19
Readme
angularjs-value-editor
Dynamically created form / inputs from JS definition / JSON.
- Zero configuration.
- Supporting aliases (pre-configured inputs).
- Extensible of Your own editors (inputs)
<kp-universal-form ng-model="model" form-settings="$ctrl.formSettings"></kp-universal-form>
class Controller {
public formSettings: KpUniversalFormSettings = {
header: 'Login',
fields: [
{
label: 'Username',
fieldName: 'username',
editor: {
type: 'text',
validations: {
required: true
}
}
},
{
label: 'Password',
fieldName: 'password',
editor: {
type: 'password',
options: {
withConfirmation: true
},
validations: {
required: true
},
localizations: {
confirmPassword: 'Confirm password'
}
}
}
]
}
}
API Documentation
- With live examples
- With huge Demo
- With guide for creating own editor