rawValue property

  1. @override
List<T?> rawValue
override

Gets the value of the FormArray, including any disabled controls.

Retrieves all values regardless of disabled status.

Implementation

@override
List<T?> get rawValue => _controls.map<T?>((control) {
      if (control is FormControlCollection<T?>) {
        return (control as FormControlCollection<T?>).rawValue;
      }

      return control.value;
    }).toList();