Describe the bug
When defining dataFile fields the field selector doen't close
To Reproduce
Steps to reproduce the behavior:
- Define a data file
frontMatter.data.files:
{
"id": "authors",
"title": "Authors",
"file": "[[workspace]]/data/authors.json",
"fileType": "json",
"labelField": "slug",
"schema": {
"title": "Authors",
"type": "object",
"required": ["name", "slug"],
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"slug": {
"type": "string",
"title": "Slug"
}
}
}
}
- Add a field using that dataFile:
{
"title": "Author",
"name": "author",
"type": "dataFile",
"dataFileId": "authors",
"dataFileKey": "slug",
"dataFileValue": "slug",
"multiple": false
}
- Add 2 items to the data:
[
{
"name": "Author A",
"slug": "author-a"
},
{
"name": "Author B",
"nickname": "author-b"
}
]
- Try to select a value in content editor
Expected behavior
For the options' selector to close once an option is selected
Screenshots

Desktop (please complete the following information):
- OS: WSL: Ubuntu-20.04
- Version v9.3.1
Describe the bug
When defining dataFile fields the field selector doen't close
To Reproduce
Steps to reproduce the behavior:
frontMatter.data.files:{ "id": "authors", "title": "Authors", "file": "[[workspace]]/data/authors.json", "fileType": "json", "labelField": "slug", "schema": { "title": "Authors", "type": "object", "required": ["name", "slug"], "properties": { "name": { "type": "string", "title": "Name" }, "slug": { "type": "string", "title": "Slug" } } } }{ "title": "Author", "name": "author", "type": "dataFile", "dataFileId": "authors", "dataFileKey": "slug", "dataFileValue": "slug", "multiple": false }[ { "name": "Author A", "slug": "author-a" }, { "name": "Author B", "nickname": "author-b" } ]Expected behavior
For the options' selector to close once an option is selected
Screenshots

Desktop (please complete the following information):