cancel
Showing results for 
Search instead for 
Did you mean: 

drop down by index empty value

Former Member
0 Kudos

Hello

One more question about drop down by index.

Drop downn is working fine.

I need, first time when display the view a blank value in drop down field (without having the blank line in drop down values).

Thank you

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Georgeta,

You drop down is bound to node.

Set selection of node to 0..1 (if it has other settings) and set initializeLeadSelection to false

VS

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello

I tried this solution, but it replaces the first line in drop down with an empty value, and I am loosing one real value from drop down.

Any other ideea?

Thank you

Former Member
0 Kudos

Hi Georgeta Zamfirescu,

Try setting the value of the value-attribute that is bound to the dropdown to blank, in the wdDoInit().

An example will be wdContext.currentContextElement.setdownvalue("");

Bala

Please reward appropriate points.