diff --git a/packages/builder/src/components/nav/ModelSetupNav/ModelFieldEditor.svelte b/packages/builder/src/components/nav/ModelSetupNav/ModelFieldEditor.svelte
index d9a61508b3..4f69f156e2 100644
--- a/packages/builder/src/components/nav/ModelSetupNav/ModelFieldEditor.svelte
+++ b/packages/builder/src/components/nav/ModelSetupNav/ModelFieldEditor.svelte
@@ -95,30 +95,38 @@
diff --git a/packages/builder/src/components/nav/ModelSetupNav/ModelSetupNav.svelte b/packages/builder/src/components/nav/ModelSetupNav/ModelSetupNav.svelte
index 655fbda8ff..39be32bf07 100644
--- a/packages/builder/src/components/nav/ModelSetupNav/ModelSetupNav.svelte
+++ b/packages/builder/src/components/nav/ModelSetupNav/ModelSetupNav.svelte
@@ -81,14 +81,14 @@
{/if}
{#if selectedCategory.value === 'design'}
@@ -108,8 +114,7 @@
{panelDefinition}
displayNameField={displayName}
onChange={onPropChanged}
- screenOrPageInstance={$store.currentView !== "component" && $store.currentPreviewItem} />
-
+ screenOrPageInstance={$store.currentView !== 'component' && $store.currentPreviewItem} />
{:else if selectedCategory.value === 'events'}
{/if}
diff --git a/packages/builder/src/components/userInterface/ComponentsHierarchy.svelte b/packages/builder/src/components/userInterface/ComponentsHierarchy.svelte
index c5c6afe063..6de3fe11c2 100644
--- a/packages/builder/src/components/userInterface/ComponentsHierarchy.svelte
+++ b/packages/builder/src/components/userInterface/ComponentsHierarchy.svelte
@@ -7,7 +7,7 @@
import { store } from "builderStore"
import { ArrowDownIcon, ShapeIcon } from "components/common/Icons/"
- export let screens = []
+ export let screens = []
let confirmDeleteDialog
let componentToDelete = ""
diff --git a/packages/builder/src/components/userInterface/ComponentsHierarchyChildren.svelte b/packages/builder/src/components/userInterface/ComponentsHierarchyChildren.svelte
index cf03861fb9..2a01968881 100644
--- a/packages/builder/src/components/userInterface/ComponentsHierarchyChildren.svelte
+++ b/packages/builder/src/components/userInterface/ComponentsHierarchyChildren.svelte
@@ -43,7 +43,7 @@
style="padding-left: {level * 20 + 40}px">
- {isScreenslot(component._component) ? "Screenslot" : component._instanceName}
+ {isScreenslot(component._component) ? 'Screenslot' : component._instanceName}
diff --git a/packages/builder/src/components/userInterface/EventsEditor/StateBindingCascader.svelte b/packages/builder/src/components/userInterface/EventsEditor/StateBindingCascader.svelte
index b9f761cec7..872ad16525 100644
--- a/packages/builder/src/components/userInterface/EventsEditor/StateBindingCascader.svelte
+++ b/packages/builder/src/components/userInterface/EventsEditor/StateBindingCascader.svelte
@@ -8,7 +8,7 @@
import { EVENT_TYPE_MEMBER_NAME } from "components/common/eventHandlers"
import { store, workflowStore } from "builderStore"
import { ArrowDownIcon } from "components/common/Icons/"
- import { createEventDispatcher } from 'svelte'
+ import { createEventDispatcher } from "svelte"
export let parameter
@@ -26,7 +26,7 @@
{/if}
{#if parameter.name === 'workflow'}
diff --git a/packages/builder/src/constants/backend/index.js b/packages/builder/src/constants/backend/index.js
index 89861b8ac7..44f44276ed 100644
--- a/packages/builder/src/constants/backend/index.js
+++ b/packages/builder/src/constants/backend/index.js
@@ -40,10 +40,10 @@ export const FIELDS = {
DATETIME: {
name: "Date/Time",
icon: "ri-calendar-event-fill",
- type: "datetime",
+ type: "string",
constraints: {
- type: "date",
- datetime: {},
+ type: "string",
+ length: {},
presence: false,
},
},
@@ -119,10 +119,10 @@ export const BLOCKS = {
END_DATE: {
name: "End Date",
icon: "ri-calendar-event-fill",
- type: "datetime",
+ type: "string",
constraints: {
- type: "date",
- datetime: {},
+ type: "string",
+ length: {},
presence: false,
},
},
diff --git a/packages/builder/src/pages/[application]/backend/_layout.svelte b/packages/builder/src/pages/[application]/backend/_layout.svelte
index b3b81abff2..c099289972 100644
--- a/packages/builder/src/pages/[application]/backend/_layout.svelte
+++ b/packages/builder/src/pages/[application]/backend/_layout.svelte
@@ -24,6 +24,7 @@
height: 100%;
display: flex;
background: var(--grey-1);
+ line-height: 1;
}
.content {
@@ -32,7 +33,6 @@
}
.nav {
- overflow: auto;
flex: 0 1 auto;
width: 300px;
height: 100%;
diff --git a/packages/builder/src/pages/[application]/workflow/_layout.svelte b/packages/builder/src/pages/[application]/workflow/_layout.svelte
index 1b84a255ba..2746a82d2f 100644
--- a/packages/builder/src/pages/[application]/workflow/_layout.svelte
+++ b/packages/builder/src/pages/[application]/workflow/_layout.svelte
@@ -29,6 +29,7 @@
height: 100%;
display: flex;
background: var(--grey-1);
+ line-height: 1;
}
.content {
diff --git a/packages/standard-components/src/Login.svelte b/packages/standard-components/src/Login.svelte
index 0675c65f46..d09cd0ff2b 100644
--- a/packages/standard-components/src/Login.svelte
+++ b/packages/standard-components/src/Login.svelte
@@ -23,7 +23,10 @@
const login = async () => {
loading = true
- const response = await _bb.api.post("/api/authenticate", { username, password })
+ const response = await _bb.api.post("/api/authenticate", {
+ username,
+ password,
+ })
if (response.status === 200) {
const json = await response.json()
localStorage.setItem("budibase:token", json.token)