Locale

Change the locale of the datepicker, schedule and client side validation messages.

Language
English
English
English
French
German
German
German
Italian
Korean
Spanish
Catalan
Dutch
Portuguese
Portuguese
Arabic
Arabic
Bulgarian
Czech
Greek
Persian
Finnish
Danish
Hindi
Indonesian
Croatian
Japanese
Hungarian
Hebrew
Georgian
Central Kurdish
Khmer
Kyrgyz
Kazakh
Lithuanian
Latvian
Malay
Norwegian
Polish
Romanian
Russian
Slovak
Slovenian
Serbian
Serbian
Swedish
Thai
Turkish
Ukrainian
Vietnamese
Chinese
Chinese

Input Style

Themes

PrimeOne
Saga Saga
Vela Vela
Arya Arya
Bootstrap
bootstrap4-blue-light Bootstrap Blue
bootstrap4-purple-light Bootstrap Purple
bootstrap4-blue-dark Bootstrap Blue
bootstrap4-purple-dark Bootstrap Purple
Material Design
material-indigo-light Indigo
material-deeppurple-light' Deep Purple
material-indigo-dark Indigo
material-deeppurple-dark' Deep Purple
Material Design Compact
material-indigo-light Indigo
material-deeppurple-light' Deep Purple
material-indigo-dark Indigo
material-deeppurple-dark' Deep Purple

InputText

InputText extends standard InputText with skinning capabilities.

Basic
Floating Label
Left Icon
Right Icon
Help Text
Enter your username to reset your password.
Invalid
Username is not available.
Disabled

<div class="card">
    <h5>Basic</h5>
    <p:inputText/>

    <h5>Floating Label</h5>
    <span class="ui-float-label">
       <p:inputText id="float-input" value="#{inputTextView.text}"/>
       <p:outputLabel for="@previous" value="Username"/>
   </span>

    <h5>Left Icon</h5>
    <span class="ui-input-icon-left">
        <i class="pi pi-search" />
        <p:inputText placeholder="Search" />
    </span>

    <h5>Right Icon</h5>
    <span class="ui-input-icon-right">
        <i class="pi pi-spin pi-spinner" />
        <p:inputText />
    </span>

    <h5>Help Text</h5>
    <div class="field">
        <p:outputLabel for="username1" styleClass="block">Username</p:outputLabel>
        <p:inputText id="username1" styleClass="block"/>
        <small class="block">Enter your username to reset your password.</small>
    </div>

    <h5>Invalid</h5>
    <div class="field">
        <p:outputLabel for="username2" styleClass="block">Username</p:outputLabel>
        <p:inputText id="username2" styleClass="block ui-state-error"/>
        <small class="block ui-state-error">Username is not available.</small>
    </div>

    <h5>Disabled</h5>
    <p:inputText disabled="true" />
</div>