We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10350dd commit b84b05bCopy full SHA for b84b05b
reproschema/redcap2reproschema.py
@@ -327,15 +327,17 @@ def process_row(
327
328
field_type = field.get("Field Type", "")
329
input_type, value_type = parse_field_type_and_value(field)
330
-
+
331
# Initialize ui object with common properties
332
ui_obj = {"inputType": input_type}
333
334
# Handle readonly status first - this affects UI behavior
335
annotation = str(field.get("Field Annotation", "")).upper()
336
- if (field_type in COMPUTE_LIST or
337
- "@READONLY" in annotation or
338
- "@CALCTEXT" in annotation):
+ if (
+ field_type in COMPUTE_LIST
+ or "@READONLY" in annotation
339
+ or "@CALCTEXT" in annotation
340
+ ):
341
ui_obj["readonlyValue"] = True
342
343
rowData["ui"] = ui_obj
0 commit comments