How to display date from database in "text input" with a type=date?

I have bind the text input with a Dynamic Attribute value of the date data coming from the database but on my form update the value that I bind with date data coming from my query somehow did not get pass back to the database if no change was made for date field. Instead it override the database date field with 0000-00-00 instead of keeping the same data that was currently queried and by right should have just got updated with the same data that was queried.

I am trying this database update using a Node.js project and I am currently using Wappler version 3.9.9

here is what i am working with as an example.

<input class="form-control" id="inpt_dates" name="dates" aria-describedby="input1" data-rule-date="" type="date" dmx-bind:value="content.modaledit.data_detailadlist.data.dates">

Thanks in advance if any of you can tell me why when a text input type is set to date is does not want display the dmx-bind:value or maybe I am missing something here.

@Teodor @mebeingken @psweb

Community Page
Last updated: