tinacms 2.2.2 → 2.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -0
- package/dist/index.mjs +2 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4627,6 +4627,8 @@ var __publicField = (obj, key, value) => {
|
|
|
4627
4627
|
React__namespace.useEffect(() => {
|
|
4628
4628
|
if (field.experimental___filter && optionSets.length > 0) {
|
|
4629
4629
|
setFilteredOptionsList(field.experimental___filter(optionSets, void 0));
|
|
4630
|
+
} else {
|
|
4631
|
+
setFilteredOptionsList(optionSets);
|
|
4630
4632
|
}
|
|
4631
4633
|
}, [optionSets, field.experimental___filter]);
|
|
4632
4634
|
if (loading === true) {
|
package/dist/index.mjs
CHANGED
|
@@ -4650,6 +4650,8 @@ const ComboboxDemo = ({
|
|
|
4650
4650
|
React.useEffect(() => {
|
|
4651
4651
|
if (field.experimental___filter && optionSets.length > 0) {
|
|
4652
4652
|
setFilteredOptionsList(field.experimental___filter(optionSets, void 0));
|
|
4653
|
+
} else {
|
|
4654
|
+
setFilteredOptionsList(optionSets);
|
|
4653
4655
|
}
|
|
4654
4656
|
}, [optionSets, field.experimental___filter]);
|
|
4655
4657
|
if (loading === true) {
|