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

Datepicker-Textfield does not validate selected date correctly in embedded form

XMLWordPrintable

      Reproduce steps:

      • Open Datepicker in an embedded form
      • Select Date

      Problem:

      • Datefield appears red (invalid)

      Expected behavior:

      • Datefield appears black (valid)

      Hints (optional):
      We use the datepicker from angular-ui. angular-ui has a bug: the $viewValue is a date-object instead of a string, which it should be according to the angular specification. Therefore, our validation fails.

      Workaround:

      • Delete a character
      • re-enter the character
        -> Datefiled validates correctly

        This is the controller panel for Smart Panels app

          1. cam-4746.jpg
            245 kB
            Chris Porter

              michael.schoettes Michael Schoettes
              matthijs.burke Matthijs
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: