This repository is used for customer feedback regarding Telerik UI for NativeScript. The issues system here is used by customers who want to submit their feature requests or vote for existing ones.
Other
115
stars
21
forks
source link
[RadDataForm] inconsistent way of setting "List" editor value on iOS using Vue #1228
I try to set an initial value for a List editor in my RadDataForm and there is an inconsistency in the way it works on iOS depending whether you have the fields meta bound to the component's data and when you specify them using markup. With object metadata the value gets set when you use the index value, whereas with markup metadata, the value gets set when you use the string value.
Which platform(s) does your issue occur on?
iOS
Please provide the following version numbers that your issue occurs with:
Progress NativeScript UI plugin version: 5.0.0
Cross-platform modules: 6.1.0
Runtime(s):"tns-android": 6.1.0, "tns-ios": 6.1.0
Please tell us how to recreate the issue in as much detail as possible.
Start the playground application. There are two data forms defined there: one with object metadata, and other with markup metadata. And each form has two list editor fields: the first with a string value and the second with an index value. For all fields we try to set the value to Washington.
On Android (first screenshot below), for every form, only the string case works, the index case does not set the initial value.
On iOS (second screenshot below), in the object form, the index case works, but in the markup form - the string case works. This is inconsistent.
Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.
Tell us about the problem
I try to set an initial value for a
List
editor in my RadDataForm and there is an inconsistency in the way it works on iOS depending whether you have the fields meta bound to the component's data and when you specify them using markup. With object metadata the value gets set when you use the index value, whereas with markup metadata, the value gets set when you use the string value.Which platform(s) does your issue occur on?
iOS
Please provide the following version numbers that your issue occurs with:
"tns-android"
: 6.1.0,"tns-ios"
: 6.1.0Please tell us how to recreate the issue in as much detail as possible.
Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.
https://play.nativescript.org/?template=play-vue&id=O2ioMm&v=6