Skip to main content
kavyam0002
October 2, 2022
Question

selected by default

  • October 2, 2022
  • 2 replies
  • 0 views

whenever i click on add row it's coming with selected 

what mistake i have done here?

    2 replies

    amans0009
    October 2, 2022

    i think...this happens when your field in which you are saving data is not array type even if you make your ri array ... by default the starting value of the array rule input is only null, not items of null. try saving the value in local variable by declaring the local variable as array [local!temp:{}] and sav the selection to the local variable .. after that you can save the values to the rule input .

    stefanhelzle0001
    Brainy
    October 2, 2022

    We need a bit more information about what you do with your ri!crAPPContracsSavedcdt and your ri!selectedContract txt.

    BTW, what is the following code snippet meant to do?

    value: {
      addvalue: +1
    },