|
|
@ -3841,7 +3841,7 @@ class BaseModelSqlv2 { |
|
|
|
: [columnValue]; |
|
|
|
: [columnValue]; |
|
|
|
for (let j = 0; j < columnValueArr.length; ++j) { |
|
|
|
for (let j = 0; j < columnValueArr.length; ++j) { |
|
|
|
const val = columnValueArr[j]; |
|
|
|
const val = columnValueArr[j]; |
|
|
|
if (!options.includes(val)) { |
|
|
|
if (!options.includes(val) && !options.includes(`'${val}'`)) { |
|
|
|
NcError.badRequest( |
|
|
|
NcError.badRequest( |
|
|
|
`Invalid option "${val}" provided for column "${columnTitle}". Valid options are "${options.join( |
|
|
|
`Invalid option "${val}" provided for column "${columnTitle}". Valid options are "${options.join( |
|
|
|
', ', |
|
|
|
', ', |
|
|
|