I have researched your example and what is happening is that you are trying to pass complex jsonObject yo your editor which is not supported by RadDataForm.and its editors.
To resolve such cases we can either normalize our source or use value converters depending on our business logic. Example on what value converters are for and how to implement them can be found here
, and the documentation section about editors converters can be found here
In the example above we have two different models - TicketOrder and Movie
. In our view model,
we have three separate properties
which will be later used as a source or our DataForm and for the editor that will handle the converted values. Notice that the source for our RadDataForm is the ticketOrder
while at the same time the valueProvider
(as source) for our editor with name movie is the property movieNames.
This is the part where as we have Array of movies (objects) we have to provide something like movie.name
which will throw with the known error about value converters. So instead of passing the dot syntax, we are using the converters function to tell that name="movie"
using the converters here.
As a conclusion what we need is to change the valueProvider and make sure that we are not passing jsonObject but a converted value to our picker name
property using the converter fallbacks convertFrom
Telerik by Progress