-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
When you make a rest call to retrieve the task form where a data object contains a LocalDate type it can't be shown on any browsers. The input box shows empty value. However, the page source shows something like:
<input name="testDate" type="Date" class="form-control" id="field_350556637931472E11" placeholder="Local Date" value="{year=2021, month=NOVEMBER, monthValue=11, dayOfMonth=14, dayOfWeek=SUNDAY, dayOfYear=318, era=CE, leapYear=false, chronology={calendarType=iso8601, id=ISO}}" pattern="(\d+)(|\/)(\d+)(?:|\/)(?\d+)\s+(\d+)\d+)(?:\d+))?(?:\.(\d+))?)?" >
As you can see, the value field contains the value in format of
"{year=2021, month=NOVEMBER, monthValue=11, dayOfMonth=14, dayOfWeek=SUNDAY, dayOfYear=318, era=CE, leapYear=false, chronology={calendarType=iso8601, id=ISO}}"
The browser shows empty value.
The task, however, is displayed properly in business-central.
- clones
-
RHPAM-4020 The rest api returns task form with Date format that can't be displayed in any browsers
- Closed