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

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

    XMLWordPrintable

    Details

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: