Skip to content

Commit 5073572

Browse files
committed
Fix ui schema for datasource forms
1 parent 2d9706d commit 5073572

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llmstack/client/src/components/datasource/AddDataSourceModal.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export function AddDataSourceModal({
7878
schema={dataSourceType?.input_schema || {}}
7979
validator={validator}
8080
uiSchema={{
81-
...(dataSourceType?.entry_config_ui_schema || {}),
81+
...(dataSourceType?.input_ui_schema || {}),
8282
...{
8383
"ui:submitButtonOptions": {
8484
norender: true,

llmstack/client/src/pages/DatasourceRender.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ function DatasourceRenderPage({ headless = false }) {
165165
schema={datasource?.type?.input_schema || {}}
166166
validator={validator}
167167
uiSchema={{
168-
...(datasource?.type?.entry_config_ui_schema || {}),
168+
...(datasource?.type?.input_ui_schema || {}),
169169
...{
170170
"ui:submitButtonOptions": {
171171
norender: true,

0 commit comments

Comments
 (0)