{
+ // @ts-ignore
+ notNull = e.target.checked;
+ setLocalStorage('dataGridCellDataFormNotNull', notNull ? 'true' : 'false');
+ }}
+ />
+ {_t('tableCell.notNull', { defaultMessage: 'Not null' })}
{/if}
@@ -307,6 +327,8 @@
.search-wrapper {
padding: 4px 4px 0 4px;
flex-shrink: 0;
+ border: 1px solid var(--theme-border);
+ border-bottom: none;
}
.inner {
diff --git a/packages/web/src/widgets/CellDataWidget.svelte b/packages/web/src/widgets/CellDataWidget.svelte
index 2af1da7ff..80f91f9b7 100644
--- a/packages/web/src/widgets/CellDataWidget.svelte
+++ b/packages/web/src/widgets/CellDataWidget.svelte
@@ -13,9 +13,9 @@
single: false,
},
{
- type: 'table',
- title: 'Table - Row',
- component: TableCellView,
+ type: 'form',
+ title: 'Form',
+ component: FormCellView,
single: false,
},
{
@@ -64,7 +64,7 @@
function autodetect(selection) {
if (selection[0]?.isSelectedFullRow) {
- return 'table';
+ return 'form';
}
if (selectionCouldBeShownOnMap(selection)) {
@@ -99,7 +99,7 @@
import JsonRowView from '../celldata/JsonRowView.svelte';
import MapCellView from '../celldata/MapCellView.svelte';
import PictureCellView from '../celldata/PictureCellView.svelte';
- import TableCellView from '../celldata/TableCellView.svelte';
+ import FormCellView from '../celldata/FormCellView.svelte';
import TextCellViewNoWrap from '../celldata/TextCellViewNoWrap.svelte';
import TextCellViewWrap from '../celldata/TextCellViewWrap.svelte';
import ErrorInfo from '../elements/ErrorInfo.svelte';