Browse Source

refactor: treat logical/boolean result as checkbox

pull/7574/head
Pranav C 9 months ago
parent
commit
b176d650c8
  1. 7
      packages/nocodb-sdk/src/lib/UITypes.ts

7
packages/nocodb-sdk/src/lib/UITypes.ts

@ -196,10 +196,9 @@ export const getEquivalentUIType = ({
return UITypes.Number;
case FormulaDataTypes.DATE:
return UITypes.DateTime;
// case FormulaDataTypes.LOGICAL:
// case FormulaDataTypes.BOOLEAN:
// uidt = UITypes.Number;
// break
case FormulaDataTypes.LOGICAL:
case FormulaDataTypes.BOOLEAN:
return UITypes.Checkbox;
}
};

Loading…
Cancel
Save