[ 
https://issues.apache.org/jira/browse/OFBIZ-12548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Le Roux updated OFBIZ-12548:
------------------------------------
    Description: 
adding this to a form in a widget/somethingForms.xml file:

<field name="description" title="${uiLabelMap.CommonDescription}" 
required-field="true"><text placeholder="This is placeholder text"/></field>

Does not throw a error, but when the form is displayed, no placeholder text 
appears.  I've checked the html code in the browser to confirm that it wasn't 
white placeholder text on a white background, and it does not define the 
placeholder property in the generated html. 

Are there any cases where placeholder text does work?  If so, it would be nice 
if a working example could be added somewhere (like someone in ofbiz, or maybe 
in the "example" plugin)

Here is a closed past issue implying that it's supposed to work now: OFBIZ-7024

 

 

  was:
adding this to a form in a widget/somethingForms.xml file:

<field name="description" title="${uiLabelMap.CommonDescription}" 
required-field="true"><text placeholder="This is placeholder text"/></field>

Does not throw a error, but when the form is displayed, no placeholder text 
appears.  I've checked the html code in the browser to confirm that it wasn't 
white placeholder text on a white background, and it does not define the 
placeholder property in the generated html. 

Are there any cases where placeholder text does work?  If so, it would be nice 
if a working example could be added somewhere (like someone in ofbiz, or maybe 
in the "example" plugin)

Here is a closed past issue implying that it's supposed to work now: 
https://issues.apache.org/jira/browse/OFBIZ-7024

 

 


> placeholder text has been implemented but seems to do nothing
> -------------------------------------------------------------
>
>                 Key: OFBIZ-12548
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12548
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: 18.12.05
>            Reporter: ddev
>            Priority: Major
>
> adding this to a form in a widget/somethingForms.xml file:
> <field name="description" title="${uiLabelMap.CommonDescription}" 
> required-field="true"><text placeholder="This is placeholder text"/></field>
> Does not throw a error, but when the form is displayed, no placeholder text 
> appears.  I've checked the html code in the browser to confirm that it wasn't 
> white placeholder text on a white background, and it does not define the 
> placeholder property in the generated html. 
> Are there any cases where placeholder text does work?  If so, it would be 
> nice if a working example could be added somewhere (like someone in ofbiz, or 
> maybe in the "example" plugin)
> Here is a closed past issue implying that it's supposed to work now: 
> OFBIZ-7024
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to