@wix/form-public 0.525.0 → 0.526.0

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.cjs CHANGED
@@ -59906,8 +59906,11 @@ var CountryOptionsModal = ({ children, className, overlayClassName, "aria-label"
59906
59906
  selectedKeys: selectedCountryCode ? [
59907
59907
  selectedCountryCode
59908
59908
  ] : [],
59909
- onAction: (key) => {
59910
- handleCountryCodeChange(key);
59909
+ onSelectionChange: (keys3) => {
59910
+ const [key] = keys3 === "all" ? [] : keys3;
59911
+ if (key) {
59912
+ handleCountryCodeChange(key);
59913
+ }
59911
59914
  overlayState?.close();
59912
59915
  }
59913
59916
  }