ValueList method
Posted: Tue Mar 28, 2017 11:35 am
Hello
I am trying to use a Type Ahead with a valuelist. I'm using the global method of the valuelist: getDataSetForValueList(displayValue, realValue, record, valueListName, findMode, rawDisplayValue)
According to the default implementation / documentation, there are three cases: real and display params both null, only display is specified and only real is specified.
I understand the first two cases, but i don't understand how the third case is supposed to work / how i'm supposed to implement it.
Where does the realValue come from? SInce the user can only type in the displayValue in the Type Ahead.
I am trying to use a Type Ahead with a valuelist. I'm using the global method of the valuelist: getDataSetForValueList(displayValue, realValue, record, valueListName, findMode, rawDisplayValue)
According to the default implementation / documentation, there are three cases: real and display params both null, only display is specified and only real is specified.
I understand the first two cases, but i don't understand how the third case is supposed to work / how i'm supposed to implement it.
Where does the realValue come from? SInce the user can only type in the displayValue in the Type Ahead.