This question is locked. New answers and comments are not allowed.
Hello,
I'm using DataForm module for Nativescript UI (with Angular), and I get somes troubles to set style inside my form.
Set style in a TKEntityProperty is not working at all, while using TKPropertyEditorStyle wrapped in a TKPropertyEditor component.
Whereas to set styling in TKPropertyGroup works perfectly, when using TKGroupTitleStyle as its first child.
Here is my template code, an exact copy from Nativescript ui samples repo :
<RadDataForm [source]="intervention" (propertyCommit)="dfPropertyCommit($event)" (propertyCommitted)="dfPropertyCommitted($event)" commitMode="Manual" validationMode="OnLostFocus"> <TKPropertyGroup tkDataFormGroups name="Main Info" hidden="false"> <TKGroupTitleStyle tkPropertyGroupTitleStyle fillColor="#6A1B9A" labelTextSize="15" ios:labelFontName="Times New Roman" android:labelFontName="sans-serif" labelFontStyle="Bold" labelTextColor="White"></TKGroupTitleStyle> <TKEntityProperty tkPropertyGroupProperties name="commentaire" displayName="Comment" index="6"> <TKPropertyEditor tkEntityPropertyEditor type="Text"> <TKPropertyEditorStyle tkPropertyEditorStyle strokeColor="#6A1B9A" strokeWidth="2" fillColor="#E040FB" labelHidden="false" labelTextSize="18" ios:labelFontName="Times New Roman" android:labelFontName="sans-serif-light" labelFontStyle="Italic" labelTextColor="#6A1B9A"></TKPropertyEditorStyle> </TKPropertyEditor> </TKEntityProperty> </TKPropertyGroup></RadDataForm>
And what I get in my app :
Thanks for your help