playbook_ui 14.9.0.pre.alpha.PBNTR775formmatingmaskdefaultvalue5120 → 14.9.0.pre.alpha.PBNTR775formmatingmaskdefaultvalue5121
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_text_input/_text_input.tsx +4 -2
- data/dist/chunks/{_typeahead-BdFkerD3.js → _typeahead-DWFImMpi.js} +1 -1
- data/dist/chunks/{_weekday_stacked-BiePMYeU.js → _weekday_stacked-UtPiOqYV.js} +1 -1
- data/dist/chunks/vendor.js +1 -1
- data/dist/playbook-doc.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 +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cfe5e243fdd166f4333142e96b09c56088e5b1d265266ffa87e103a41fc8eaef
|
4
|
+
data.tar.gz: 58a5bea3b1b81cc0fb06731f30aef7c5c02fbc2d7bfddc7175046d913355f325
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb44317a418ce0d5042d883f6c7a5d1789cef28e04fa3819021e8ec853f8dc5db8dbf09b2fe925188356586e4a9707a6497e0102afaedec2f4c466d4603fad8a
|
7
|
+
data.tar.gz: aada7d4698d5b7dfc3ba3528f295ba980eca79b85ed5d018e332e4ec473b0b021863c412fd2f49b6b9d0e02a4a527bdbe1ffa0160e62f9f2b2b25ccaaee982b1
|
@@ -123,9 +123,11 @@ const TextInput = (props: TextInputProps, ref: React.LegacyRef<HTMLInputElement>
|
|
123
123
|
|
124
124
|
const childInput = children ? children.type === "input" : undefined
|
125
125
|
|
126
|
-
let formattedValue
|
126
|
+
let formattedValue;
|
127
127
|
if (isMaskedInput) {
|
128
|
-
formattedValue = INPUTMASKS[mask].format(
|
128
|
+
formattedValue = INPUTMASKS[mask].format(value.toString())
|
129
|
+
} else {
|
130
|
+
formattedValue = value
|
129
131
|
}
|
130
132
|
|
131
133
|
const textInput = (
|