Flexgrid ng-template wj-input-date-time not working using [format]

Posted by: develop on 24 September 2020, 4:19 am EST

  • Posted 24 September 2020, 4:19 am EST

    Hi,

    I’m using an engrided wj-input-date-time as this :

                    <wj-flex-grid-column binding="myData" [dataType]="4" [format]="'dd/MM/yyyy hh:mm'">
                    <ng-template wjFlexGridCellTemplate [cellType]="'CellEdit'" let-let-cell="cell">
                        <wj-input-date-time [(value)]="cell.value" [max]="item.datumVervoer" [format]="'dd/MM/yyyy hh:mm'"></wj-input-date-time>
                    </ng-template>
                </wj-flex-grid-column>
    

    It’s working fine using the date/time pickers.

    However, when entering the values manually, the data is not getting updated (it just roll back to the original value).

    → Only removing the format from the wj-input-date-time will make it work properly.

    How can I solve this ?

    Thanks you in advance.

  • Posted 25 September 2020, 10:09 am EST - Updated 3 October 2022, 3:32 pm EST

    Hi Geoffrey,

    We are sorry but we are unable to replicate the issue at our end. We have attached a gif of our observation and the sample used for testing. Please have a look at it and let us know if we are missing some steps to replicate the issue.

    Sample: https://codesandbox.io/s/wijmo-angular-forked-d1vo5?file=/src/app/app.component.html

    Regards

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels