In Xamarin.Forms, there is no multiline text box editor in RadDataForm.
I am using DataForm for my project and in the process of implementing validation. For validation, I use DataAnnotation-NonEmptyValdator for the required fields.
Is there a way to change it dynamically in runtime?.
For example, I have 2 fields, the first field is always required. However, the second field is not always required, it depends on the selected item of the first field.
If you prepare a Xamarin.Forms app to respect iOS Dark Mode, it is apparent that the RadDataForm is only respecting the native elements for Dark Mode.
For example, use my attached reproducible. Notice how the text in the native editors has the appropriate light text, but the background is still stuck on light coloring.
If you try to use Editor style or GroupHeaderStyle, you can't use DynamicResource because the style's properties are not BindableProperties:
We really need these properties to be usable with DynamicResource, so this is a feature request more than a bug report. Update the properties to BindableProperties that with with DynamicResource.
A workaround for this would be to set everything you can to be transparent:
Add public-facing methods to re-call DataSourceProvider GetSourceFor methods. This would allow for refreshing the datasource. Alternatively, add support for ObservableCollection to be used for DataSources so that the pickers reflect any changes to the underlying data source.
Expose an IsEnabled property for editors that can be toggled after DataForm is rendered. Currently, only Data Annotations can determine whether or not a property's editor is read-only. If a specific editor's read only state needs to be changed dynamically (e.g. due to a selection in another editor), you would need to completely reload the DataForm.
Currently, all groups are expanded by default. We should expose methods to collapse/expand certain groups. Furthermore, CollapseAll, ExpandAll groups should be considered as well.
Add FontFamily option to DataFormEditorStyle and DataFormGroupHeaderStyle.
Add TextAttributes option to DataFormEditorStyle and DataFormGroupHeaderStyle (e.g. Bold).
Currently, on Android and UWP the date and time editors display popups with "OK" and "Cancel" buttons, so one can easily dismiss the control even if a value has been selected. This will still keep the null value in the dataform. On iOS value changes are propagated immediately to the dataform, so there is no way to keep the null value.
With the current implementation in Xamarin.Forms, the control has no built-in support for enumerable properties. The approach is to create custom renderers and use the native editors. We need to expose default editors for enumerable and custom types.
We need to simplify the way the editors can be customized. XAML only solution would be great.