Function getSimpleObject

  • Usually an FormState contains complex objects to each field, with error, value and message This method returns a simpler object, with keys and values only

    Parameters

    • formData: FormState
    • fieldsToSkip: string[] = null

      The list of field to remove from result

    • getEmptyValuesToo: boolean = false

      returns empty fields too

    Returns {}

    Generated using TypeDoc