Uploaded image for project: '[Read Only] - Addon Channel Manager'
  1. [Read Only] - Addon Channel Manager
  2. CHANNELMGR-1368

Save and cancel buttons are disabled after getting autodraft (form is "untouched")

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 5.0.1
    • None
    • 2
    • Tiger Sprint 159, Tiger Sprint 160, Tiger Sprint 161, Tiger Sprint 162

    Description

      Steps to reproduce:

      1. Go to the Channel Manager, edit a document. Do not save changes. Autodraft will automatically draft those changes.
      2. Open another document in the right side panel.
      3. Open the first document again. The autodrafted changes will appear, but the "Save" button will be disabled as Angular Material sees the form as pristine.

       

      UPDATE:

      After discussing with abogaart and mmetternich, the conclusion is that a back-end flag is required (named "dirty" for example). The front-end will use this flag to force the "Save" button to be active.

      Attachments

        Issue Links

          Activity

            People

              asolod Andrey Solod (Inactive)
              aweinberger Ariel Weinberger (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: