Skip to content

[Custom Components] Problem with advanced logic #1045

@adhonay

Description

@adhonay

abrir chamado com bug da logica adicional

Environment

Please provide as many details as you can:

  • Hosting type
    • Form.io
    • Local deployment
      • Version:
        formiojs": "4.18.0
        formio/angular":" 6.0.0
        Node: 18.18.0
        Npm 10.1.0
  • Angular cli : 16.1.6
  • Browser: Chorme
  • Browser version: 120.0.6099.201

image

I created several customized components, as done in the documentation, but I have a serious problem.

If I add any type of advanced logic, the custom component starts to disregard all the logic I implemented in the editform.

For example:

image

Does anyone know how I can configure my logic implemented via code in editform along with formio's advanced logic?

Configuring my customcomponent.formio.ts
image

To simulate the error, simply create a customized component, add any logic to that component's editform file, and later create advanced logic through the configuration modal. The logic created in the editform file will not work, nor will it even execute.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions