EGL Development User Group

EGL Development User Group

EGL Development User Group

The EGL Development User Group is dedicated to sharing news, knowledge, and insights regarding the EGL language and Business Developer product. Consisting of IBMers, HCL, and users, this community collaborates to advance the EGL ecosystem.

 View Only
  • 1.  Right align Dojo placeholder

    Posted 02/24/16 09:44 AM

    Does anyone know how to right align the placeholder for a DojotextField?

    I use the placeholder to indicate to the user what the expected value type is. i.e. 0.00

    I have tried the css examples like

    ::-webkit-input-placeholder

    but have been unsuccessful.

     

    Rick

    RickGentner


  • 2.  Re: Right align Dojo placeholder

    Posted 02/25/16 03:31 AM

    Hi Rick,

    One way to right align the placeholder would be:

    Add this to your project's css file:

    div[id*="rightalignId"] span {        left:auto;        right:0px;}

    Then provide the DojoTextFields you want their placeholders to be right-aligned with an id containing the text "rightalignId".

    Like:

    dt1 DojoTextField{placeHolder = "Amount", id="rightalignId25"};

    Guus

     

     

     

     

    gweis