dat-labs / verified-sources

Repository to hold the supported verified sources (data warehouses, databases, cloud file system, local file system, FTP, SFTP, etc).
Apache License 2.0
1 stars 4 forks source link

Mandatory Dir Uris field is accpeting empty input also #31

Closed pandeyganesh-dc closed 2 months ago

pandeyganesh-dc commented 2 months ago

Is there an existing issue for this?

Description

While configuring Google Drive -> OpenAI -> qdrant, We need to enter the path of the google directory from where we need to fetch the data in Dir Uris. So, I entered the path and pressed submit and the tab got closed and then i ran the connection but it failed. I realized it later that we need to press enter too after entering the dir. But the problem is, pressing submit did not raise field required prompt over the field.

Steps to Reproduce

Won't get any restriction to fill this mandatory field.

Screenshots

No response

Environment

OS: Arch Linux Browser: Google Chrome

Additional Context

No response

dc-rahul commented 2 months ago

The solution would be to mark dir_uris field with minimum_items = 1

pandeyganesh-dc commented 2 months ago

Thanks, the problem has been resolved.