ARA-Trans / iAM

iAM - Infrastructure Asset Management
GNU Affero General Public License v3.0
4 stars 4 forks source link

vnext/501: CriteriaEditor => dynamically generated dropdown lists for selected attributes #828

Closed ppator1 closed 4 years ago

ppator1 commented 4 years ago

-added API function 'GetAttributeSelectValues -added DAL GetAttributeSelectValues -added models: NetworkAttribute, AttributeSelectValues, AttributeSelectValuesResult -updated getErrorMessage function to check for a 'statusText' property -added action getATtributeSelectValues, mutator attributesSelectValuesMutator, and state property attributesSelectValues -modified CriteriaEditor to check for new attributes on a change to the selectSubCriteriaClause, and if a new value is found to call the GetAttributeSelectValues API to update the list of values (if any) for the selected attribute in state