mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-01 01:48:24 +00:00
feat: implement shared form view(WIP)
Signed-off-by: Pranav C <pranavxc@gmail.com>
This commit is contained in:
@@ -441,7 +441,7 @@ export default {
|
||||
if (!this.localParams || !this.localParams.fields || !this.localParams.fields[column.alias]) {
|
||||
continue
|
||||
}
|
||||
if (!column.virtual && ((column.rqd && !column.default) || this.localParams.fields[column.alias].required)) {
|
||||
if (!column.virtual && (((column.rqd || column.notnull) && !column.default) || (column.pk && !(column.ai || column.default)) || this.localParams.fields[column.alias].required)) {
|
||||
obj.localState[column._cn] = { required }
|
||||
} else if (column.bt) {
|
||||
const col = this.meta.columns.find(c => c.cn === column.bt.cn)
|
||||
|
||||
Reference in New Issue
Block a user