Skip to content

smart-error-display-v1.0.2

Latest
Compare
Choose a tag to compare
@AditechGH AditechGH released this 01 Oct 18:29
· 14 commits to main since this release

Key Features

  • Support for Reactive and Template-Driven Forms: Seamlessly works with both types of Angular forms without additional configuration.
  • Accessibility: Uses ARIA attributes to announce errors to screen readers, ensuring accessibility compliance.
  • Localization (i18n): Supports integration with translation services to provide error messages in multiple languages.
  • Custom Error Formatting: Allows custom functions to dynamically format error messages based on error type and context.
  • Flexible Error Display Control: Controls when error messages are displayed (on value change, focus, blur, or hover).
  • Configurable Debounced Error Display: Allows adjustable debounce time to minimize rapid updates to error messages, enhancing user experience.
  • Custom Logging Integration: Offers custom logging hooks for analytics, enabling tracking of error patterns and user interactions..
  • Predefined Themes and Styling: Offers customizable styles and predefined themes (light, dark, compact).
  • Performance Optimization: Utilizes OnPush change detection strategy for optimal performance in large forms.
  • Error Handling: Includes fallback mechanisms to handle and display errors gracefully, highlighting affected input fields when needed.