Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-7645

Embedded form with JSON ng-model field fails to enable save button

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Won't Fix
    • L3 - Default
    • None
    • 7.6.4
    • webapp
    • None
    • WildFly v10+, tested on browsers: Chrome, FireFox

    Description

      I noticed that the 'Save' button remains disabled when changing a field of type ng-model. However, if I add a typical cam-variable-name field into the same embedded form, the Save button is enabled on change with this field (cam-variable-name). And, once the save button enable/disable begins working, the ng-model field also begins sending events to enable save on field change.

      Just follow tutorial for JSON within embedded form to duplicated issue.

      Here is an example field from my app - note that the ng-model reference is slightly different - I added the level "field".

      The complete workaround si

         <div class="control-group">
            <label class="control-label">ng-model: customer.value.firstname</label>
            <div class="controls">
               <input 
                  ng-model="customer.value.firstname"            
                  cam-variable-type="String" 
                  class="form-control" />
            </div>
         </div>
      

      see form link: https://forum.camunda.org/t/embedded-form-and-json-objects-problem-with-enabling-save-button-i-e-store-event/3374

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              garysamuelson Gary Samuelson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce