For drop downbox choiceValues are being empty

 a!dropdownField(
                label: "Role",
                placeholder: "All Roles",
                choiceLabels: local!allRoles,
                choiceValues: local!allRoles,
                value: local!Role,
                saveInto: local!Role,             
              ),

The error report:A dropdown component [label="Role"] 
has an invalid value for "choiceValues". Choice values cannot be null.

local!allRole:local!allRoles:rule!userinputsheet_Role()
which is as below:
 a!queryEntity(
    entity: cons!user_input_sheet,
    query: a!query(
      pagingInfo: a!pagingInfo(
        startIndex: 1,
        batchSize: 50,
      ),         
      aggregation:a!queryAggregation(
        aggregationcolumns:{
          a!queryAggregationColumn(field:"ROLE",isGrouping:true),
        }
      ),
      filter:a!queryFilter(
        field:"ROLE",
        operator:"not null",
      )
    ),
  ).data.ROLE

  Discussion posts and replies are publicly visible

Parents Reply Children