There was an error while loading. Please reload this page.
1 parent 51b0a88 commit 8186696Copy full SHA for 8186696
1 file changed
src/common/components/LinkField.jsx
@@ -83,9 +83,9 @@ const LinkField = ({
83
<>
84
<Autocomplete
85
size="small"
86
- loading={active && !items}
+ loading={active && (!items || !linked)}
87
isOptionEqualToValue={(i1, i2) => i1.id === i2.id}
88
- options={items || []}
+ options={(linked && items) || []}
89
getOptionLabel={(item) => titleGetter(item)}
90
slotProps={{ chip: { size: 'small' } }}
91
renderInput={(params) => (
0 commit comments