Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Suggested Answer
+1
person also asked this
people also asked this
Replies
3 replies
Answers
1 answer
Subscribers
7 subscribers
Views
5046 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
I have a dropdown list.If no selection is made, the system saves a null value in
revathis
over 9 years ago
I have a dropdown list.If no selection is made, the system saves a null value into the component's Save Selection To field.Confused by this Error - "A dropdown component [label=“Company”] has an invalid value for “value”. All selected values must be present in the choiceValues array, but value was and choiceValues was ABI2WG ; ACC1LON ; ACEI4BRI; ACI2SYD ; ".
Expression Error : "Expression evaluation error in rule 'vc_mc_brokercontactdetail' (called by rule 'vc_mc_managecontacts'): A null parameter has been passed."
Below is the code which renders it
a!dropdownField(
label: cons!VC_LB_COMPANY,
labelPosition: cons!VC_LB_POSITION_ADJACENT,
choiceLabels: {
apply(fn!tostring,local!brokerCompany.id)
},
choiceValues: {
apply(fn!tostring,local!brokerCompany.id)
},
placeholderLabel: cons!VC_CMS_LB_PLACEHOLDER_SELECT...
OriginalPostID-150440
OriginalPostID-150440
Discussion posts and replies are publicly visible
Top Replies
Jeroen Elsen
over 3 years ago
+1
suggested
Certified Senior Developer
Hi, I just had the same issue, I had to encapsulate the value in a 'tostring' so that the types matched. So value: tostring(local!broker.customer_Code) a!dropdownField( label: cons!VC_LB_COMPANY, labelPosition…
Parents
0
revathis
over 9 years ago
...,
value: local!broker.customer_Code,
saveInto: local!broker.customer_Code
)
)
Any thoughts on why this could happen ? - unable to debug this
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
revathis
over 9 years ago
...,
value: local!broker.customer_Code,
saveInto: local!broker.customer_Code
)
)
Any thoughts on why this could happen ? - unable to debug this
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data