Need help with this error

Certified Senior Developer

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

Parents
  • 0
    Certified Associate Developer

    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: {}
      )
    }
    )

Reply
  • 0
    Certified Associate Developer

    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: {}
      )
    }
    )

Children