Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-20871

crmUiSelect fails to update when model changes

    Details

    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Core Team Contract
    • Verified?:
      No
    • Acceptance Criteria:
      Hide
      1. In "org.civicrm.civicase", the "Clear filters" and "Activity Category" stay synchronized.

      2. In "org.example.angpage" ("civicrm/a/#/play"), all element stay synchronized.

      3. Existing screens which use the crmUiSelect element work as expected. (For ideas, perhaps grep the codebase and also check the history from CRM-20390.)
      Show
      1. In "org.civicrm.civicase", the "Clear filters" and "Activity Category" stay synchronized. 2. In "org.example.angpage" ("civicrm/a/#/play"), all element stay synchronized. 3. Existing screens which use the crmUiSelect element work as expected. (For ideas, perhaps grep the codebase and also check the history from CRM-20390 .)

      Description

      As part of CRM-20084, the CiviCase UI includes a SELECT element for filtering by "Activity Category". It also includes a button "Clear filters" which resets the filter. (Screenshot attached.)

      Functionally, the "Clear filters" button works, but visually the "Activity Category" dropdown does not reflect the change. I've reproduced this in isolation with a small extension:

      The problem only occurs when the element uses `crm-ui-select`. If it uses a normal `select`, then it works fine.

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              timotten Tim Otten
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: