Reset display field if required
This commit is contained in:
parent
6124139295
commit
193b8785ee
1 changed files with 4 additions and 0 deletions
|
@ -101,6 +101,10 @@
|
||||||
return validation[column] && canBeDisplayColumn(schema[column].type)
|
return validation[column] && canBeDisplayColumn(schema[column].type)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
$: if (displayColumn && !canBeDisplayColumn(schema[displayColumn].type)) {
|
||||||
|
displayColumn = null
|
||||||
|
}
|
||||||
|
|
||||||
$: {
|
$: {
|
||||||
// binding in consumer is causing double renders here
|
// binding in consumer is causing double renders here
|
||||||
const newValidateHash = JSON.stringify(rows) + JSON.stringify(schema)
|
const newValidateHash = JSON.stringify(rows) + JSON.stringify(schema)
|
||||||
|
|
Loading…
Reference in a new issue