Компоненты PrimeNG
Inputtext

Инпут

PrimeNG/Inputtext (opens in a new tab)

Inputtext отображает текстовое поле для ввода данных.

С чего начать

Подключите модуль

import { InputTextModule } from 'primeng/inputtext';

Basic

Float Label

Left Icon

Right Icon

Help Text

Username Enter your username to reset your password.

Enter your username to reset your password.

Invalid

Username is not available.

Invalid with Float Label

Disabled

Required

Размеры

Float with Prime icon Float with Qpalette icon Disabled float

Свойства

NameTypeDefaultDescription
disabledbooleanfalseWhen present, it specifies that the element should be disabled.

Стилизация

NameElement
p-inputtextInput element