Skip to content

v0.0.26 - Interactive Demo & Bug Fixes

Latest

Choose a tag to compare

@Swaraj55 Swaraj55 released this 22 Dec 19:31

πŸŽ‰ What's New

✨ Interactive Demo & Showcase

We've launched a brand new interactive demo where you can test all features in real-time!

🌐 Try it now: https://ngx-otp-code-input.vercel.app/

The demo includes:

  • Live Configuration Panel - Adjust all settings and see changes instantly
  • Code Preview - See the exact code you need to use
  • Event Logs - Watch events fire in real-time
  • Multiple Examples - Test different configurations easily

πŸ”§ Bug Fixes

Dynamic Length Changes

  • βœ… Fixed: Component now properly updates when you change the length input dynamically
  • Before: Changing length didn't update the number of input fields
  • Now: Input fields update immediately when length changes

Improved Component Reactivity

  • Enhanced change detection for better performance
  • Smoother updates when configuration changes

🎨 UI/UX Improvements

  • Better dropdown styling with proper spacing
  • Improved form controls layout
  • Enhanced visual feedback for configuration changes
  • Cleaner, more intuitive demo interface

πŸš€ Quick Start

npm install ngx-otp-code-inputipt
import { NgxOtpCodeInputModule } from 'ngx-otp-code-input';

@NgModule({
imports: [NgxOtpCodeInputModule]
})
export class AppModule { }tml
<ngx-otp-code-input
[length]="6"
[autofocus]="true"
(otpComplete)="onOtpComplete($event)">
---

πŸ“š Resources


πŸ™ Thank You!

If you find this library helpful, please consider:

  • ⭐ Starring the repository
  • πŸ› Reporting bugs or suggesting features
  • πŸ“– Sharing with other developers