Skip to content

[BUG] Formio 8 with Angular 18 expects [language] input to be an EventEmitter not a string. It throws console error despite sending language as EventEmitter #1123

Open
@celu

Description

@celu

Environment

Please provide as many details as you can:

  • Hosting type
    • Local deployment
      • Version: 8.0.0
  • Formio.js version: 5.0.0
  • Frontend framework: Angular 18.2
  • Browser: chrome
  • Browser version: 132.0

Steps to Reproduce

  1. Trying to pass string 'es' to [language] input in formio angular selector throws type 'String' is not assignable to type EventEmitter
  2. Documentation describes language as a string input
  3. I created an EventEmitter which executes and sends 'es' string to [language] input, and language changes correctly.
  4. Also documentation says to set la language con options but FormioOptions interface doesn't allow language attribute in new version anymore.

Expected behavior

To allow developers to assign language in options or to create a new input to send current language as string

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions