ProgressNS / nativescript-ui-feedback

This repository is used for customer feedback regarding Telerik UI for NativeScript. The issues system here is used by customers who want to submit their feature requests or vote for existing ones.
Other
115 stars 21 forks source link

[Feature request] DataForm defining CustomPropertyEditor via XML #180

Open tsonevn opened 7 years ago

tsonevn commented 7 years ago

Add the ability to create a custom editor, while using XML, instead of declaring platform specific code for both iOS and Android. For example:

<df:EntityProperty name="age">
                <df:EntityProperty.editor>
                    <df:CustomPropertyEditor 
                        editorNeedsView="editorNeedsView" 
                        editorHasToApplyValue="editorHasToApplyValue" 
                        editorNeedsValue="editorNeedsValue"/>
                      <GridLayout rows="*" columns="auto auto">
                          <Button col="0" text="Button1"/>
                          <Button col="1" text="Button2"/>
                      </GridLayout>
                </df:EntityProperty.editor>
            </df:EntityProperty>

Related to t.1108044

stevenspiel commented 5 years ago

YES PLEASE!!