Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

CustomRenderers and PasswordEditors do not update DataObject?

$
0
0

Hi,

after trying different things without any success, I decided to ask some experts ;-)

I want to use SfDataForm as a login form. I am using Xamarin Forms with Prism and Syncfusion.

Using the default form renderers, everything is fine: the values in the data object are all updated correctly in the view model and I am able to send the user inputs to my REST API.

At first, I faced some problems, when I tried to use a custom renderer for the form input fields (I wanted them to have a rounded border all around the field an wrote such a renderer in the Droid project. They are displayed correctly, but if I use the debugger and take a look into the data object, the values corresponding to the customized fields were not updated, they were all empty strings).
I downloaded one of your examples for custom renderers (syncfusion.com/downloads/support/directtrac/general/ze/Tab_DataForms1957976837.zip), added a button with a simple click event to take a look into the data object, but there is the same problem.

Then I tried to use a password editor for the password input. The value of this field is not transfered to the model/data object, either.

Can anyone help me please - where is my fault?

Thanks in advance :-)


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>