You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@o3r/forms

Package Overview
Dependencies
Maintainers
5
Versions
2207
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@o3r/forms

This module provides utilities to enhance angular form (asynchronous decorator, additional validator, error store...).

12.4.0
latest
Source
npmnpm
Version published
Weekly downloads
4.8K
-16.86%
Maintainers
5
Weekly downloads
 
Created
Source

Otter forms

Super cute Otter!

This package is an Otter Framework Module.

Description

Stable Version Bundle Size

One of the approaches for writing forms that Angular provides is called model-driven or reactive forms, which "provide a model-driven approach to handling form inputs whose values change over time". This type of form is applicable in many use cases, but there are a couple of exceptions where additional utilities may be useful.

These use cases include:

  • A container/presenter structure for components
  • Handling form submission at page level
  • Displaying the error message outside the form

To handle these, this module provides utilities to enhance the build of Angular reactive forms, including:

  • An asynchronous decorator (@AsyncInput) to ensure subscriptions are handled if the references of the input observables change.
  • Basic and custom validators to validate user input for accuracy and completeness.
  • A dedicated NgRX store for form errors to have the possibility of displaying error messages outside the form component.
  • Helper functions to handle the interactions with the forms.

How to install

ng add @o3r/forms

[!WARNING] This module requires @o3r/core to be installed.

Details

Find more information in the documentation.

Keywords

forms

FAQs

Package last updated on 16 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts