Hi,

I have successfully implemented the Language Dropdown and Styled it.

But I want to add a "Please Select" as a default of the Dropdown. (Just as a text label that doesn't actually change the language).
How do I go about doing this?

Comments

bjmagar1906’s picture

draytop:

You can simply add following property to your form definition i.e

'#empty_option' => ' Please select',

draytop’s picture

Many thanks,

Please forgive my ignorance,

Where do I do that?

I just have the Language Switcher as a Block in my header,
so everything is just selected from the options available in Configure Block.

draytop’s picture

Status: Active » Closed (fixed)