Apr 29, 2014, 5:43 PM
[CLOSED] ComponentLoader.ToConfig on DateField not working
Hi,
I'm trying to get the config of one DateField.
Code:
If i set the value of the Text property before, i get an error: "Error during ClientConfig initialization. FormatProxy - Token PropertyName in state Property would result in an invalid JSON object. Path ''.".
Updated to the last version on the NuGet and the error persists.
What can i do?
Thanks in advance,
I'm trying to get the config of one DateField.
Code:
DateField df = new DateField();
df.Text = "02/25/1987";
string test = ComponentLoader.ToConfig(df);
If i call the ComponentLoader.ToConfig before setting a value to Text property, the code works beautifully.If i set the value of the Text property before, i get an error: "Error during ClientConfig initialization. FormatProxy - Token PropertyName in state Property would result in an invalid JSON object. Path ''.".
Updated to the last version on the NuGet and the error persists.
What can i do?
Thanks in advance,
Last edited by Daniil; Apr 30, 2014 at 12:24 PM.
Reason: [CLOSED]