@rolster/react-components 18.21.6 → 18.21.7
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/cjs/index.js
CHANGED
|
@@ -2436,7 +2436,9 @@ function useListController(props) {
|
|
|
2436
2436
|
element && setFormValue(element);
|
|
2437
2437
|
}
|
|
2438
2438
|
else {
|
|
2439
|
-
automatic
|
|
2439
|
+
automatic
|
|
2440
|
+
? setFormValue(collection.value[0], true)
|
|
2441
|
+
: refreshState({ ...state, value: '' });
|
|
2440
2442
|
}
|
|
2441
2443
|
}
|
|
2442
2444
|
changeValueInternal.current = false;
|