Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[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
1 task done
celu opened this issue Jan 21, 2025 · 0 comments
Labels

Comments

@celu
Copy link

celu commented Jan 21, 2025

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

@celu celu added the bug label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant