Skip to content
This repository was archived by the owner on Apr 30, 2018. It is now read-only.
This repository was archived by the owner on Apr 30, 2018. It is now read-only.

Formly field value depends on another field value #768

Description

@Ahmadburghol

Hi,

am trying to change field value that depends on another field value,

`expressionProperties: {

        'templateOptions.onChange': function($viewValue, $modelValue, $scope) {

          COMPONENT.myForm.controls['anotherField'].setValue('hi');

        }

}`
after the execution of this function, the value changed but the console gives me this errors

  • ERROR failed to convert exception to string
  • ERROR CONTEXT failed to convert exception to string

Thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions