This question is locked. New answers and comments are not allowed.
It looks like the 'index' field in metadata.propertyAnnotations is not honored, at least using Angular on iOS (haven't tried on Android).
This is my .html:
<
RadDataForm
[source]="form" [metadata]="metadata"></
RadDataForm
>
And this is my metadata:
this
.metadata = {
isReadOnly:
false
,
commitMode:
"immediate"
,
validationMode:
"immediate"
,
propertyAnnotations: [
{
name:
"email"
,
index: 0,
editor:
"Email"
,
},
{
name:
"name"
,
index: 1,
editor:
"Text"
,
},
{
name:
"age"
,
index: 2,
editor:
"Number"
,
},
{
name:
"city"
,
index: 3,
editor:
"Picker"
,
valuesProvider: [
"New York"
,
"Boston"
,
"Atlanta"
]
},
{
name:
"street"
,
index: 4,
editor:
"Text"
,
},
{
name:
"streetNumber"
,
index: 5,
editor:
"Number"
,
},
]
};
The form displays in the same (incorrect) order whether or not I include the 'index' field.