Posted 28 June 2024, 10:06 am EST - Updated 28 June 2024, 11:11 am EST
WjInputDateTime does not receive a value when confirmed with the Enter key
Posted by: nguyenvansy091201 on 28 June 2024, 10:06 am EST
-
-
Posted 2 July 2024, 2:32 am EST
Hi,
It seems like an unexpected behavior in InputDateTime control, so we have escalated it to the dev team for further investigation with internal tracking ID- WJM-34250. We will update you when we have an update from the dev team.
Meanwhile here is a workaround that you can use
//workaround (input as any).InputDate.prototype._keydown = function (t) { if (t.keyCode === wijmo.Key.Enter) { this._commitText(); // commit the text this.isDroppedDown = false; // close the drop-down } };
Here is a sample for your reference https://stackblitz.com/edit/angular-stjdwa?file=src%2Fapp%2Fapp.component.ts
Regards
-
Posted 1 October 2024, 7:07 am EST
Hi,
This issue has been fixed in the latest version of Wijmo, i.e. 5.20242.21. You can verify it in the following sample - https://stackblitz.com/edit/angular-pssp8w?file=src%2Fapp%2Fapp.component.ts
Regards