Search Unity

Question how do I set InputField so placeholder disappear immediately upon clicking on the field?

Discussion in 'UGUI & TextMesh Pro' started by laurentlavigne, Aug 3, 2020.

  1. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,353
    like traditional fields
     
  2. jste6370

    jste6370

    Joined:
    Feb 9, 2021
    Posts:
    2
    Lol that was unhelpful...

    The TextMeshPro Input Field has an "On Select" listener under its control settings.
    1. Drag the placeholder object into the field with the empty object.
    2. In the function dropdown select GameObject > setActive
    3. Leave the checkbox unticked