plugins icon indicating copy to clipboard operation
plugins copied to clipboard

[@nativescript/DateTimePicker] Entering a value using the keyboard

Open Niageadon opened this issue 3 years ago • 0 comments

Hello.

Problem: The value is not saved if the time value is entered via the keyboard. Tested on android

Template: <TimePickerField timeFormat="HH:mm" color="black" [hint]="'common.action.time.select' | L" [(ngModel)]="this.model.startDate"

Steps:

  1. Open a modal window by tapping on the TimePickerField;
  2. Tap on the time field;
  3. Enter the desired value (In screenshot 1, the value 59 was entered in the minutes field); image
  4. Press "ok".
  5. Saved value is "39"(image No. 2). image

Expected: Saved value is "59"

Is it possible to fix this behavior or disable the ability to enter a value using the keyboard?

P.S. If, before step 4, click on the submit on the keyboard (image No. 3), then the value is saved. image

"dependencies": { ... "@nativescript/angular": "^13.0.0", "@nativescript/core": "~8.1.1", "@nativescript/datetimepicker": "^2.1.10", ... }

Niageadon avatar Aug 08 '22 14:08 Niageadon