Declined
Last Updated: 16 Jul 2019 09:57 by ADMIN
Mohamed
Created on: 10 Jul 2019 16:39
Category: DataForm
Type: Bug Report
1
SegmentedEditor doesn't work with Property Validation

Please refer to the attached project that reproduces the issue. In the MainPage constructor, you can switch between using the PickerEditor (validation works) and the SegmentedEditor (validation doesn't work).

// Works with validation
dataForm.RegisterEditor("Location", EditorType.PickerEditor);
 
// Doesn't work with validation
//dataForm.RegisterEditor("Location", EditorType.SegmentedEditor);


This leads to other issues like the PropertyValidationCompleted event not firing.

Thank you,
Mohamed

1 comment
ADMIN
Yana
Posted on: 16 Jul 2019 09:57
Hi Mohamed,

Thank you for providing the application.

Actually the reason behind the erroneous behavior is a known issue in DataForm - the SegmentedEditor does not update the underlying property immediately. Basically, that's the reason the validation not to be raised. We have this issue logged in our public portal, please follow the item below in order to get notified on status changes:
https://feedback.telerik.com/xamarin/1366329-dataform-android-segmentededitor-does-not-immediately-update-the-property-despite-commitmode-immediate

As a temporary solution, please use Picker editor instead.

I am sorry for any inconvenience caused.

Regards,
Yana
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items