camunda / camunda-modeler

An integrated modeling solution for BPMN, DMN and Forms based on bpmn.io.
https://camunda.com/products/modeler
MIT License
1.49k stars 476 forks source link

I can set the date pattern for form fields of type date #1943

Open venkatreddy50 opened 3 years ago

venkatreddy50 commented 3 years ago

Is your feature request related to a problem? Please describe.

When adding a form field of type date the date pattern cannot be set. Furthermore, there is no indication of what date pattern I should use when setting a date. In the Camunda BPM engine it defaults to dd/MM/yyyy.

image

Describe the solution you'd like

  1. I can set the date pattern for form fields of type date
  2. There is an indication what the default date pattern is

Additional context

Date pattern: https://docs.camunda.org/javadoc/camunda-bpm-platform/7.13/org/camunda/bpm/engine/impl/form/type/DateFormType.html#datePattern

Default date pattern in the Camunda BPM engine: https://github.com/camunda/camunda-bpm-platform/blob/612392da7856476ef14bd82bebcc7a543652e130/engine/src/main/java/org/camunda/bpm/engine/impl/form/engine/HtmlFormEngine.java#L124

pinussilvestrus commented 3 years ago

Thanks for opening! Can you maybe use our issue template to make some things clearer?