diff --git a/frontend/src/lib/common.ts b/frontend/src/lib/common.ts index c1917635ea..0daa000b50 100644 --- a/frontend/src/lib/common.ts +++ b/frontend/src/lib/common.ts @@ -41,6 +41,8 @@ export interface SchemaProperty { order?: string[] nullable?: boolean dateFormat?: string + title?: string + placeholder?: string } export interface ModalSchemaProperty { @@ -65,6 +67,8 @@ export interface ModalSchemaProperty { password?: boolean nullable?: boolean dateFormat?: string + title?: string + placeholder?: string } export function modalToSchema(schema: ModalSchemaProperty): SchemaProperty { @@ -88,7 +92,9 @@ export function modalToSchema(schema: ModalSchemaProperty): SchemaProperty { showExpr: schema.showExpr, password: schema.password, nullable: schema.nullable, - dateFormat: schema.dateFormat + dateFormat: schema.dateFormat, + title: schema.title, + placeholder: schema.placeholder } } export type Schema = { diff --git a/frontend/src/lib/components/ArgInput.svelte b/frontend/src/lib/components/ArgInput.svelte index 7f013a2360..c6c1ee6b0b 100644 --- a/frontend/src/lib/components/ArgInput.svelte +++ b/frontend/src/lib/components/ArgInput.svelte @@ -1,6 +1,6 @@ @@ -192,6 +208,11 @@