playbook_ui 15.5.0.pre.alpha.PLAY2581aggressivevalidation12651 → 15.5.0.pre.alpha.PLAY2581aggressivevalidation12652
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.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_phone_number_input/_phone_number_input.tsx +2 -1
- data/dist/chunks/{_typeahead-DrZthFaf.js → _typeahead-C4h8SiWS.js} +1 -1
- data/dist/chunks/vendor.js +1 -1
- data/dist/playbook-rails-react-bindings.js +1 -1
- data/dist/playbook-rails.js +1 -1
- data/lib/playbook/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b033c3a47f35de6f8b7ffc146e271bb47b1deacd8907d26ce7a2b0d53f5cbb21
|
|
4
|
+
data.tar.gz: 20e3e4fc5b7c06a0dca8af5bc6fec8896d4747ca44a6bb54fa20a19231414ba6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0a6b71fd848f702853c207858e87c9871452ddc33c47302f3b2f088b89e3a60a43a444c4b38a063dee98417471972969e46ca6be3b0bad682f414c8e32d282bd
|
|
7
|
+
data.tar.gz: 36223f09387c0edc8f0e101568abae69bb1554525e3cf0e616d7cd3086ddcf4bce8994f6bc118fc6b64ad7e11bd02162a438fa03daa6f6ea023913b007d18446
|
|
@@ -280,7 +280,8 @@ const PhoneNumberInput = (props: PhoneNumberInputProps, ref?: React.Ref<unknown>
|
|
|
280
280
|
}
|
|
281
281
|
|
|
282
282
|
// Only validate if field has been blurred or form has been submitted
|
|
283
|
-
|
|
283
|
+
// Don't validate on change - only on blur or submission
|
|
284
|
+
if (!hasBlurred && !formSubmitted) return
|
|
284
285
|
|
|
285
286
|
// Run validation checks
|
|
286
287
|
if (itiRef.current) isValid(itiRef.current.isValidNumber())
|