We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bebbeb commit cff54d0Copy full SHA for cff54d0
components/form.js
@@ -1317,9 +1317,9 @@ export function MultiInput ({
1317
innerRef={(el) => { inputRefs.current[index] = el }}
1318
onChange={(formik, e) => handleChange(formik, e, index)}
1319
onKeyDown={e => handleKeyDown(e, index)}
1320
- style={{
+ style={{
1321
textAlign: 'center',
1322
- maxWidth: `${charLength * 40}px`, // adjusts the max width of the input based on the charLength
+ maxWidth: `${charLength * 40}px` // adjusts the max width of the input based on the charLength
1323
}}
1324
prepend={showSequence && <InputGroup.Text>{index + 1}</InputGroup.Text>} // show the index of the input
1325
hideError
0 commit comments