@@ -765,23 +765,23 @@ private static string createReadyonlyFieldDefinition(IntellisenseObject classObj
765765 case "bool" :
766766 output . Append ( $ "<MudItem xs=\" 12\" md=\" 6\" > \r \n ") ;
767767 output . Append ( " " ) ;
768- output . Append ( $ " <ReadOnlyFieldX6 CheckBox=\" true\" Label=\" @L[_model.GetMemberDescription(x=>x.{ property . Name } )]\" Value=\" _model.{ property . Name } \" ></ReadOnlyFieldX6 >\r \n ") ;
768+ output . Append ( $ " <ReadOnlyField CheckBox=\" true\" Label=\" @L[_model.GetMemberDescription(x=>x.{ property . Name } )]\" Value=\" _model.{ property . Name } \" ></ReadOnlyField >\r \n ") ;
769769 output . Append ( " " ) ;
770770 output . Append ( $ "</MudItem> \r \n ") ;
771771 break ;
772772 case "system.datetime" :
773773 case "system.datetime?" :
774774 output . Append ( $ "<MudItem xs=\" 12\" md=\" 6\" > \r \n ") ;
775775 output . Append ( " " ) ;
776- output . Append ( $ " <ReadOnlyFieldX6 Label=\" @L[_model.GetMemberDescription(x=>x.{ property . Name } )]\" Value=\" @_model.{ property . Name } ?.ToString(\" d\" )\" ></ReadOnlyFieldX6 >\r \n ") ;
776+ output . Append ( $ " <ReadOnlyField Label=\" @L[_model.GetMemberDescription(x=>x.{ property . Name } )]\" Value=\" @_model.{ property . Name } ?.ToString(\" d\" )\" ></ReadOnlyField >\r \n ") ;
777777 output . Append ( " " ) ;
778778 output . Append ( $ "</MudItem> \r \n ") ;
779779 break ;
780780 case "system.timespan" :
781781 case "system.timespan?" :
782782 output . Append ( $ "<MudItem xs=\" 12\" md=\" 6\" > \r \n ") ;
783783 output . Append ( " " ) ;
784- output . Append ( $ " <ReadOnlyFieldX6 Label=\" @L[_model.GetMemberDescription(x=>x.{ property . Name } )]\" Value=\" @_model.{ property . Name } ?.ToString(\" hh:mm\" )\" ></ReadOnlyFieldX6 >\r \n ") ;
784+ output . Append ( $ " <ReadOnlyField Label=\" @L[_model.GetMemberDescription(x=>x.{ property . Name } )]\" Value=\" @_model.{ property . Name } ?.ToString(\" hh:mm\" )\" ></ReadOnlyField >\r \n ") ;
785785 output . Append ( " " ) ;
786786 output . Append ( $ "</MudItem> \r \n ") ;
787787 break ;
@@ -790,7 +790,7 @@ private static string createReadyonlyFieldDefinition(IntellisenseObject classObj
790790 {
791791 output . Append ( $ "<MudItem xs=\" 12\" md=\" 6\" > \r \n ") ;
792792 output . Append ( " " ) ;
793- output . Append ( $ " <ReadOnlyFieldX6 Label=\" @L[_model.GetMemberDescription(x=>x.{ property . Name } )]\" Value=\" _model.{ property . Name } \" ></ReadOnlyFieldX6 >\r \n ") ;
793+ output . Append ( $ " <ReadOnlyField Label=\" @L[_model.GetMemberDescription(x=>x.{ property . Name } )]\" Value=\" _model.{ property . Name } \" ></ReadOnlyField >\r \n ") ;
794794 output . Append ( " " ) ;
795795 output . Append ( $ "</MudItem> \r \n ") ;
796796 }
@@ -802,7 +802,7 @@ private static string createReadyonlyFieldDefinition(IntellisenseObject classObj
802802 var enumType = property . Type . CodeName . Split ( '.' ) . Last ( ) ;
803803 output . Append ( $ "<MudItem xs=\" 12\" md=\" 6\" > \r \n ") ;
804804 output . Append ( " " ) ;
805- output . Append ( $ " <ReadOnlyFieldX6 Label=\" @L[_model.GetMemberDescription(x=>x.{ property . Name } )]\" Value=\" _model.{ property . Name } ?.GetDescription()\" ></ReadOnlyFieldX6 >\r \n ") ;
805+ output . Append ( $ " <ReadOnlyField Label=\" @L[_model.GetMemberDescription(x=>x.{ property . Name } )]\" Value=\" _model.{ property . Name } ?.GetDescription()\" ></ReadOnlyField >\r \n ") ;
806806 output . Append ( " " ) ;
807807 output . Append ( $ "</MudItem> \r \n ") ;
808808 }
0 commit comments