Browse Source

fix: allow to edit the length of a nvarchar (mssql). #1930

pull/1938/head
Titouan CREACH 3 years ago
parent
commit
2b88c3d3c7
  1. 5
      packages/nocodb-sdk/src/lib/sqlUi/MssqlUi.ts

5
packages/nocodb-sdk/src/lib/sqlUi/MssqlUi.ts

@ -337,7 +337,7 @@ export class MssqlUi {
return '';
case 'nvarchar':
return '';
return 255;
case 'real':
return '';
@ -391,6 +391,9 @@ export class MssqlUi {
static getDefaultLengthIsDisabled(type) {
switch (type) {
case 'nvarchar':
return false;
case 'bigint':
case 'binary':
case 'bit':

Loading…
Cancel
Save