[ 
https://issues.apache.org/jira/browse/OFBIZ-12548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17485090#comment-17485090
 ] 

ASF subversion and git services commented on OFBIZ-12548:
---------------------------------------------------------

Commit 9d66988c5b4e0f87f180c40cd8797f2f6998dc1a in ofbiz-plugins's branch 
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-plugins.git;h=9d66988 ]

Fixed: placeholder text has been implemented but seems to do nothing 
(OFBIZ-12548)

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)

Thanks: ddev for report and spotting the missed commit of
OFBIZ-5341-Example.patch in OFBIZ-5341


> 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
>            Assignee: Jacques Le Roux
>            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