This blog we will see how to set the default character type for af:inputText in ADF.
We need to add the contentStyle property in af:inputText component.
For upper case character: text-transform:uppercase;
For lower case character: text-transform:lowercase;
For first letter capital: text-transform:capitalize;
The code should look like the below
Thanks..
We need to add the contentStyle property in af:inputText component.
For upper case character: text-transform:uppercase;
For lower case character: text-transform:lowercase;
For first letter capital: text-transform:capitalize;
The code should look like the below
<af:inputText
label="Upper Case : " id="it3"
contentStyle="text-transform:uppercase;"
shortDesc="All character will be upper
case"/>
<af:inputText
label="Lower Case: " id="it2"
contentStyle="text-transform:lowercase;"
shortDesc="All character will be lower
case"/>
<af:inputText
label="Capital Case : " id="it1"
contentStyle="text-transform:capitalize;"
shortDesc="First chracter will be
capital"/>
|
Thanks..
No comments:
Post a Comment