Can't set datetime-local value

I have edit form inside data detail component and I have datetime-local. I set value to datetime-local with data from data detail but it won’t work.
I have a test text input component with same Data Binding - data is there.,
I’ve also tried an 3 years old workaround - Date Picker Value Does Not Match Textbox Value - no luck

Should I use some specific format to set datetime-local value?

Source code bellow:

Text input
<input id="edit_event_id1" name="edit_event_id1" type="text" class="form-control" dmx-bind:value="">

<input class="form-control" id="edit_date_time" name="edit_date_time" aria-describedby="inp_date_time_help" placeholder="Enter Date &amp; time" type="datetime-local" dmx-bind:value="">

I’m using same datetime-local component to create this data.

From what i see the datetime-local input expects the date in a specific format.
Try formatting the dynamic value for it using the FormatDate formatter and yyyy-MM-ddTHH:mm date format.


Thank you very much! :beer: