react-otp-input icon indicating copy to clipboard operation
react-otp-input copied to clipboard

Add optional attributes to support overridden test id attribute

Open carryall opened this issue 4 years ago • 1 comments

  • What does this PR do? Solved #315 by adding optional attributes to support overridden test id attribute

  • Screenshots and/or Live Demo Given the custom-test-attr and custom-test-id

    <OtpInput
      inputStyle="inputStyle"
      numInputs={numInputs}
      ...
      custom-test-attr="custom-test-attr"
      custom-test-id="test-id"
    />
    

    here's the rendered result Screen Shot 2564-11-18 at 11 34 55

carryall avatar Nov 18 '21 04:11 carryall

We have a published a new OTP input package right here. Please use this: https://www.npmjs.com/package/react18-input-otp

ritikbanger avatar Aug 14 '22 11:08 ritikbanger

The input component is fully customizable now with v3

prateek3255 avatar Mar 26 '23 07:03 prateek3255