PackageTrack
Sign in Get early access

angular_forms

Forms framework for AngularDart.

4.0.1 angulardart/angular

What this package is like to depend on

Last release 5 years ago

no release in 18 months

Ships unpredictably

gaps range from 2 weeks to 1.2 years

Nearly every release is documented

notes for 11 of 11 stable releases

Nothing withdrawn

no release was ever pulled

9 years old

31 releases · first in 2017

0 releases in the last 12 months

see the full history below

Release timeline

31 releases · Aug 2017 to Oct 2021
2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 31
  1. 4.0.1 07 Oct 2021
    Release notes
    • Update README.md.
    Open source →
  2. 4.0.0 17 Sep 2021
    Release notes
    • Support null safety
    • Require Dart ^2.14.0
    Open source →
  3. 3.0.0 08 Oct 2020
    Release notes
    • Stable release
    Open source →
  4. 2.1.4 25 Jul 2019
    Release notes
    • Maintenance release to support Angular 6.0-alpha+1.
    Open source →
  5. 2.1.3 07 May 2019
    Release notes
    • Maintenance release to support Angular 6.0-alpha.
    Open source →
  6. 2.1.2 05 Apr 2019
    Release notes
    • Maintenance release to support Angular 5.3.
    Open source →
  7. 2.1.1 10 Dec 2018
    Release notes
    • Maintenance release to support Angular 5.2.
    Open source →
  8. 2.1.0 10 Oct 2018
    Release notes

    New Features

    • PatternValidator now has a pattern input. This allows the pattern property to be set dynamically. Previously, this could only be specified statically at compile time.
    Open source →
  9. 2.0.0 07 Aug 2018
    Release notes

    New Features

    • Add AbstractControlGroup and AbstractNgForm to allow infrastructure to create their own form systems that can be backed by types such as a proto, or have different control group logic. Allow NgFormModel and NgControlGroup to work with abstract group.

    • reset method added to AbstractControl and AbstractControlDirective.

    • RequiredValidator now has a required input. This allows the required property to be toggled at runtime. Previously, this could only be set statically at compile time.

    • Control.invalid getter added.

    • Control.markAsPristine added. This will clear the dirty property.

    • Add ngDisabled input to all Control directives.

    • Add MemorizedForm directive. This is a form that will not remove controls if the control is taken out of the view, for example with a [NgIf].

    • Add disabled state to AbstractControl models. Note: This is not yet supported in the template-driven directives.

    • Add markAsUntouched method to AbstractControl.

    • Add a type annotation, T, to AbstractControl, which is tied to the type of value.

    • ControlGroup now extends AbstractControl<Map<String, dynamic>>.

    • ControlArray now extends AbstractControl<List>.

    Breaking Changes

    • Use value from AbstractControl for valueChanges event instead of internal variable. Allows code to more easily subclass AbstractControl.

    • Remove deprecated NG_VALUE_ACCESSOR token. Use ngValueAccessor instead.

    • Abstract updateValue method added to AbstractControl. All subclasses of AbstractControl will need to implement this method.

    • NgControlName will no longer initialize with null if a value is specified by 'ngModel'.

    • The touched property of Controls is now propagated to parents / children.

    • NgControlGroup can no longer be injected directly. It can still be injected as a ControlContainer.

    • NgControlName and NgFormControl can no longer be injected directly. They can still be injected as a NgControl.

    • The following directives are no longer injectable:

      • CheckboxControlValueAccessor
      • DefaultValueAccnessor
      • MaxLengthValidator
      • MinLengthValidator
      • NgControlStatus
      • NgSelectOption
      • NumberValueAccessor
      • PatternValidator
      • RadioControlValueAccessor
      • RequiredValidator
    • Add ControlValueAccessor.onDisabledChanged() method. All implementations of ControlValueAccessor need to add this method.

    • Remove include and exclude methods from ControlGroup. These can be replaced with calls to markAsEnabled and markAsDisabled instead.

      Before: controlGroup.include('foo');

      After: controlGroup.controls['foo'].markAsEnabled();

    • CheckboxControlValueAccessor now implements ControlValueAccessor<bool> and RadioControlValueAccessor now implements ControlValueAccessor<RadioButtonState>. Previously, they were both ControlValueAccessor<dynamic>.

    • Remove optionals param from ControlGroup constructor. This has been replaced by disabled state for all Controls. See https://github.com/angulardart/angular/issues/1037 for more details.

    • AbstractControl.find now only accepts a String. To supply a list, use AbstractControl.findPath instead. Also, for find or findPath, ControlArray index is now calling int.parse instead of expecting a raw number.

    • Properly typed the generic parameter on subclasses of AbstractControlDirective. Now, NgControl.control will return a Control, and ControlContainer.control will return a ControlGroup. There may be some unnecessary casts that can now be cleaned up.

    • FormBuilder instance methods group, control, and array have been removed. For FormBuilder.control, just call new Control(value, validator) directly. For FormBuilder.group and FormBuilder.array, use the static methods FormBuilder.controlGroup and FormBuilder.controlArray, respectively. FormBuilder is no longer Injectable.

    • Changed type of AbstractControl.statusChanges from Stream<dynamic> to Stream<String>. This now matches the type for AbstractControl.status, which as always been a String.

    • Allow expressions for maxlength/minlength validators. Breaking change does not support string values for maxlength/minlength anymore. minlength="12" now should be written [minlength]="12"

    Bug fixes

    • Add a not selector to ngForm for memorizedForm since memorized_form is now in angular_forms. This fixes the DIRECTIVE_EXPORTED_BY_AMBIGIOUS error when using: <form #form="ngForm" memorizedForm>

    • Don't throw a null pointer exception in NgFormModel if a directives asks for a Control value before the form is initialized.

    Open source →
  10. 2.0.0-beta 29 Jun 2018 pre-release

    Nothing published for this version

  11. 2.0.0-beta+1 16 Jul 2018 pre-release

    Nothing published for this version

  12. 2.0.0-beta+2 19 Jul 2018 pre-release

    Nothing published for this version

  13. 2.0.0-beta+3 02 Aug 2018 pre-release

    Nothing published for this version

  14. 2.0.0-alpha 16 Mar 2018 pre-release

    Nothing published for this version

  15. 2.0.0-alpha+1 29 Mar 2018 pre-release

    Nothing published for this version

  16. 2.0.0-alpha+2 10 Apr 2018 pre-release

    Nothing published for this version

  17. 2.0.0-alpha+3 23 Apr 2018 pre-release

    Nothing published for this version

  18. 2.0.0-alpha+4 17 May 2018 pre-release

    Nothing published for this version

  19. 2.0.0-alpha+5 24 May 2018 pre-release

    Nothing published for this version

  20. 2.0.0-alpha+6 05 Jun 2018 pre-release

    Nothing published for this version

  21. 2.0.0-alpha+7 15 Jun 2018 pre-release

    Nothing published for this version

  22. 1.0.1-alpha 10 Oct 2017 pre-release

    Nothing published for this version

  23. 1.0.1-alpha+1 21 Nov 2017 pre-release

    Nothing published for this version

  24. 1.0.1-alpha+2 19 Dec 2017 pre-release

    Nothing published for this version

  25. 1.0.1-alpha+3 08 Jan 2018 pre-release

    Nothing published for this version

  26. 1.0.1-alpha+4 18 Jan 2018 pre-release

    Nothing published for this version

  27. 1.0.1-alpha+5 06 Feb 2018 pre-release

    Nothing published for this version

  28. 1.0.1-alpha+6 27 Feb 2018 pre-release

    Nothing published for this version

  29. 1.0.1-alpha+7 07 Mar 2018 pre-release

    Nothing published for this version

  30. 1.0.0 30 Aug 2017
    Release notes
    • Support for angular 4.0.0.
    Open source →
  31. 0.1.0 15 Aug 2017
    Release notes
    • Initial commit of angular_forms.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive