Skip to content

$jsx is not defined when autocomplete module is lazy loaded #4072

Description

@AndreyVasilkov
  • Framework7 version: 7.0.5
  • Platform and Target: Chrome browser

Describe the bug

I'm testing lazy loading modules (exactly Autocomplete module) and when i trigger this.autocomplete.open, then get error: "$jsx is not defined". What am I doing wrong.

To Reproduce

Steps to reproduce the behavior:
app.loadModule('autocomplete').then(() => { var autocomplete = app.autocomplete.create({ inputEl: '#autocomplete-geo-popup', openIn: 'page', source: function (query, render) { } }); autocomplete.open(); });

Screenshots

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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