-
-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Labels
Description
Hello Nativescript-user,
I am wroking on a NativeScript Vue Project and i have many TimePickerFields in a ListView.
For example:
<ListView for="item in myList">
<v-template>
<TimePickerField :time="selectedTime" @timeChange="onDateTimeChange" col="1" locale="de_DE" hint="Von..." pickerOkText="Bestätigen"
pickerCancelText="Abbrechen" pickerTitle="Zeit wählen"></TimePickerField>
</v-template>
</ListView>
And my "onDateTimeChange"-handler:
onDateTimeChange: function(args) {
this.selectedTime1=args.value
}
Now it stores the current selected Time in a variable and that is fine.
Is there a way to know which TimePickerfield is calling the function?
It is neccesary because i want to store every selected Time (per TimepickerField) in another variable.
for example (selectedTime1, selectedTime2, selectedTime3....)
Thank you very much in advance for your answer