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.
2 parents c48d2ff + 3a06162 commit ce3b561Copy full SHA for ce3b561
src/index.tsx
@@ -206,8 +206,8 @@ const ReactInputVerificationCode = ({
206
role='button'
207
tabIndex={0}
208
className={`ReactInputVerificationCode__item ${
209
- i === activeIndex ? 'is-active' : ''
210
- }`}
+ value[i] !== placeholder ? 'is-filled' : ''
+ } ${i === activeIndex ? 'is-active' : ''}`}
211
onFocus={onItemFocus(i)}
212
>
213
{value[i] || placeholder}
0 commit comments