Problem while using SAIL dropdown

Hi All,

Would like to share with you guys problem we're facing while using Sail dropdown. Please find problem explained below.

We've two single select dropdowns list a. Team list and b. Analyst list on a Tempo Report.

We're resetting value of Analyst list to its default value i.e "Please Select" on change of Team List. This is happening fine but after then it doesn't allow me to change value of Analyst list & eveytime it reset to its default value.

For your reference please find code below. Many Thanks in advance.


=load(
                    local!team: 1,
                    local!user_name: null,
                    local!pre_team: local!team,
                    with(
                                        local!user_name: if(local!pre_team=local!team,local!user_name,null),
                                        local!pre_user:if(local!pre_team=local!team,local!pre_team,local!team),
                                        a!formLayoutColumns(

                                                            columns:{
                                                  a!columnLayout(
                                                                      contents: {a!sectionLayout(
                                                                                          label: "Report Filters",

                                                                                          firstColumnContents: {
                                                                                a!dropdownFieldByIndex(
                                                            ...

OriginalPostID-91636

OriginalPostID-91636

  Discussion posts and replies are publicly visible

Parents
  • ...                                        label: "Team",
                                                                                                        instructions: "Select Team To View Company Report",
                                                                                                        multiple: false,
                                                                                                        disabled: false,
                                                                                                        choiceLabels: {
                                                                                              "Services",
                                                                                              "Software"
                                                                                    },
                                                                                    value: local!team,
                                                                                    saveInto:local!team
                                                                                                        ),
                                                                                                        a!dropdownFieldByIndex(
                                                                                                                            label: "Analyst",
                                                                                                                            instructions: "Select Analyst To View Company Report",
                                                                                                                            multiple: false,
                                                                                                                            disabled: false,
                                                                                                                            placeholderLabel: "Please Select",
                                                                                                                            choiceLabels: if(local!team=1,{"Avish","Sandeep","Shaily","Vikas"},{"Manu","Apporv"}),
                                                                                                                            value: local!user_name,
                                                                                                                            saveInto:local!user_name
                                                                                                                            )

                                                                          }
                                                                                              )}
                                                                          )          

                                            }
                                                                )
                                            )
                        )
Reply
  • ...                                        label: "Team",
                                                                                                        instructions: "Select Team To View Company Report",
                                                                                                        multiple: false,
                                                                                                        disabled: false,
                                                                                                        choiceLabels: {
                                                                                              "Services",
                                                                                              "Software"
                                                                                    },
                                                                                    value: local!team,
                                                                                    saveInto:local!team
                                                                                                        ),
                                                                                                        a!dropdownFieldByIndex(
                                                                                                                            label: "Analyst",
                                                                                                                            instructions: "Select Analyst To View Company Report",
                                                                                                                            multiple: false,
                                                                                                                            disabled: false,
                                                                                                                            placeholderLabel: "Please Select",
                                                                                                                            choiceLabels: if(local!team=1,{"Avish","Sandeep","Shaily","Vikas"},{"Manu","Apporv"}),
                                                                                                                            value: local!user_name,
                                                                                                                            saveInto:local!user_name
                                                                                                                            )

                                                                          }
                                                                                              )}
                                                                          )          

                                            }
                                                                )
                                            )
                        )
Children
No Data