There is a type attribute in <p:inputText /> component.
And there are few options for the type, which is text (default), number, email, color, etc.
Below is the code and screenshot for different type of <p:inputText />
Done!!
And there are few options for the type, which is text (default), number, email, color, etc.
Below is the code and screenshot for different type of <p:inputText />
Text: <p:inputText type="text"></p:inputText>
Number: <p:inputText type="number"></p:inputText>
Email: <p:inputText type="email"></p:inputText>
Color: <p:inputText type="color"></p:inputText>
File: <p:inputText type="file"></p:inputText>
Date: <p:inputText type="date"></p:inputText>
Done!!
No comments:
Post a Comment