@@ -27,7 +27,7 @@ struct FieldDetailView: View {
27
27
CornerRadiusText ( " Expression: \( attribute. expression) " )
28
28
CornerRadiusText ( " Hide Expression: \( attribute. hideExpression) " )
29
29
CornerRadiusText ( " Format: \( attribute. format) " )
30
- CornerRadiusText ( " Display Scale: \( attribute. displayScale) " )
30
+ CornerRadiusText ( " Display Scale: \( String ( optional : attribute. displayScale) ) " )
31
31
CornerRadiusText ( " Unit: \( attribute. unit) " )
32
32
CornerRadiusText ( " Unit Position: \( attribute. unitPosition) " )
33
33
@@ -87,15 +87,15 @@ struct FieldDetailView: View {
87
87
CornerRadiusText ( " No Label: \( attribute. noLabel) " )
88
88
CornerRadiusText ( " Required: \( attribute. required) " )
89
89
CornerRadiusText ( " Link Protocol: \( attribute. linkProtocol) " )
90
- CornerRadiusText ( " Min Length: \( attribute. minLength) " )
91
- CornerRadiusText ( " Max Length: \( attribute. maxLength) " )
90
+ CornerRadiusText ( " Min Length: \( String ( optional : attribute. minLength) ) " )
91
+ CornerRadiusText ( " Max Length: \( String ( optional : attribute. maxLength) ) " )
92
92
CornerRadiusText ( " Unique: \( attribute. unique) " )
93
93
CornerRadiusText ( " Default Value: \( attribute. defaultValue) " )
94
94
95
95
case let . lookup( attribute) :
96
96
CornerRadiusText ( " No Label: \( attribute. noLabel) " )
97
97
CornerRadiusText ( " Required: \( attribute. required) " )
98
- CornerRadiusText ( " Related App/App: \( attribute. lookup. relatedApp. app ) " )
98
+ CornerRadiusText ( " Related App/App: \( attribute. lookup. relatedApp. appID ) " )
99
99
CornerRadiusText ( " Related App/Code: \( attribute. lookup. relatedApp. code) " )
100
100
CornerRadiusText ( " Related Key Field: \( attribute. lookup. relatedKeyField) " )
101
101
FieldMappingsView ( fieldMappings: attribute. lookup. fieldMappings)
@@ -120,12 +120,12 @@ struct FieldDetailView: View {
120
120
case let . number( attribute) :
121
121
CornerRadiusText ( " No Label: \( attribute. noLabel) " )
122
122
CornerRadiusText ( " Required: \( attribute. required) " )
123
- CornerRadiusText ( " Min Value: \( attribute. minValue) " )
124
- CornerRadiusText ( " Max Value: \( attribute. maxValue) " )
123
+ CornerRadiusText ( " Min Value: \( String ( optional : attribute. minValue) ) " )
124
+ CornerRadiusText ( " Max Value: \( String ( optional : attribute. maxValue) ) " )
125
125
CornerRadiusText ( " Digit: \( attribute. digit) " )
126
126
CornerRadiusText ( " Unique: \( attribute. unique) " )
127
127
CornerRadiusText ( " Default Value: \( attribute. defaultValue) " )
128
- CornerRadiusText ( " Display Scale: \( attribute. displayScale) " )
128
+ CornerRadiusText ( " Display Scale: \( String ( optional : attribute. displayScale) ) " )
129
129
CornerRadiusText ( " Unit: \( attribute. unit) " )
130
130
CornerRadiusText ( " Unit Position: \( attribute. unitPosition) " )
131
131
@@ -145,6 +145,17 @@ struct FieldDetailView: View {
145
145
case let . recordNumber( attribute) :
146
146
CornerRadiusText ( " No Label: \( attribute. noLabel) " )
147
147
148
+ case let . referenceTable( attribute) :
149
+ CornerRadiusText ( " No Label: \( attribute. noLabel) " )
150
+ CornerRadiusText ( " Related App/App: \( attribute. referenceTable. relatedApp. appID) " )
151
+ CornerRadiusText ( " Related App/Code: \( attribute. referenceTable. relatedApp. code) " )
152
+ CornerRadiusText ( " Condition/Field: \( attribute. referenceTable. condition. field) " )
153
+ CornerRadiusText ( " Condition/Related Field: \( attribute. referenceTable. condition. relatedField) " )
154
+ CornerRadiusText ( " Filter Condition: \( attribute. referenceTable. filterCondition) " )
155
+ CornerRadiusText ( " Display Fields: \( attribute. referenceTable. displayFields. joined ( separator: " , " ) ) " )
156
+ CornerRadiusText ( " Sort: \( attribute. referenceTable. sort) " )
157
+ CornerRadiusText ( " Size: \( attribute. referenceTable. size) " )
158
+
148
159
case let . richText( attribute) :
149
160
CornerRadiusText ( " No Label: \( attribute. noLabel) " )
150
161
CornerRadiusText ( " Required: \( attribute. required) " )
@@ -153,8 +164,8 @@ struct FieldDetailView: View {
153
164
case let . singleLineText( attribute) :
154
165
CornerRadiusText ( " No Label: \( attribute. noLabel) " )
155
166
CornerRadiusText ( " Required: \( attribute. required) " )
156
- CornerRadiusText ( " Min Length: \( attribute. minLength) " )
157
- CornerRadiusText ( " Max Length: \( attribute. maxLength) " )
167
+ CornerRadiusText ( " Min Length: \( String ( optional : attribute. minLength) ) " )
168
+ CornerRadiusText ( " Max Length: \( String ( optional : attribute. maxLength) ) " )
158
169
CornerRadiusText ( " Expression: \( attribute. expression) " )
159
170
CornerRadiusText ( " Hide Expression: \( attribute. hideExpression) " )
160
171
CornerRadiusText ( " Unique: \( attribute. unique) " )
0 commit comments