File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/dev/s2-docs/pages/react-aria Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ TextField can be customized to create an OTP (one-time password) input by hiding
154154
155155 function OTPBoxes({length , focused }) {
156156 let context = useContext (InputContext );
157- let value = context ?.value ?? ' ' ;
157+ let value = String ( context ?.value ?? ' ' ) ;
158158
159159 return (
160160 <div style = { {display: ' flex' , gap: ' 6px' , pointerEvents: ' none' }} >
@@ -218,7 +218,7 @@ TextField can be customized to create an OTP (one-time password) input by hiding
218218
219219 function OTPBoxes({length , focused }) {
220220 let context = useContext (InputContext );
221- let value = context ?.value ?? ' ' ;
221+ let value = String ( context ?.value ?? ' ' ) ;
222222
223223 return (
224224 <div className = " flex gap-1.5 pointer-events-none" >
You can’t perform that action at this time.
0 commit comments