Question

placeholder in dropdown

hi community

i am trying placeholder in dropdown but i am unable to get output so plz help where i have done mistake

i am getting placeholder in text filed but i want in dropdown

Like 0

Like

3 comments

hi community

waiting for your reply

Dear Manikanta,

Please see the example below, I have added a placeholder for the Gender dropdown lookup. The issue is caused by the className you use. Please use

"className": "Terrasoft.LookupEdit" instead.
{
	"operation": "merge",
	"name": "Gender",
	"values": {
	   "layout": {
			"colSpan": 12,
			"rowSpan": 1,
			"column": 12,
			"row": 1
		},
		"controlConfig": {
            "className": "Terrasoft.LookupEdit",
			"placeholder":"Enter Gender",
			"classes": ["placeholderOpacity"]
		}
	}
}

Regards,

Anastasia

Anastasia Botezat,

tq so much its working

Show all comments