Hi Everyone,I am getting error in the dropdown field,i have called 3 dropdown fields in interface level when i am selecting the value from 1st dropdown am getting error like this and this dropdown is 2nd and also i have passed the values and labels same only still i am getting error like this (the data is saving in the child records i have used parent records to pass the data to child )
Discussion posts and replies are publicly visible
You can use local variables in savento then you can map local variables with rue input. a!localVariables( local!save, { a!dropdownField( choiceLabels: {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}, choiceValues: {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}, label: "Dropdown", labelPosition: "ABOVE", placeholder: "--- Select a Value ---", value: local!save, saveInto:{ local!save, a!save( ri!save, local!save ) }, searchDisplay: "AUTO", validations: {} ) } )
a!localVariables( local!save, { a!dropdownField( choiceLabels: {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}, choiceValues: {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}, label: "Dropdown", labelPosition: "ABOVE", placeholder: "--- Select a Value ---", value: local!save, saveInto:{ local!save, a!save( ri!save, local!save ) }, searchDisplay: "AUTO", validations: {} ) } )
got it thanks...
you can also add the check if value of variable is null then proper null will be used else use the variable.