1. Components
  2. Textrea

Components

Textrea

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: 'textarea', // required
		name: 'name-field-textarea', // required
		value: '', // optional
		attributes: {
			id: 'id-field-textarea', // optional
			classes: ['form-control'], // optional
			label: 'Label field textarea', // optional
			placeholder: 'Placeholder field tel', // optional
			disabled: false, // optional
			readonly: false, // optional
			rows: 14, // optional
			cols: 8 // optional
		}
	}
];
Result

Previous <- Range