Components
Password
NOTE
the property attributes.type by default is a text and you can change it to password | email | number | range | tel
Example
const fields: IField[] = [
{
type: 'input', // required
name: 'password', // required
value: '', // optional
attributes: {
type: 'password', // default = text, or password, email, number, tel, optional
id: 'password', // optional
classes: ['form-control'], // optional
label: 'Field password', // optional
placeholder: 'Placeholder field password', // optional
disabled: false, // optional
readonly: false // optional
}
}
];
Result