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

ui.codemirror does not work via NiceGUI On Air #3122

Closed
falkoschindler opened this issue May 24, 2024 · 0 comments
Closed

ui.codemirror does not work via NiceGUI On Air #3122

falkoschindler opened this issue May 24, 2024 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@falkoschindler
Copy link
Contributor

falkoschindler commented May 24, 2024

Description

I noticed that ui.codemirror does not work On Air:

from nicegui import ui
ui.codemirror('print("Hello, world!")')
ui.run(on_air=True)

The page is blank and the JavaScript console says

TypeError: Failed to fetch dynamically imported module: https://europe.on-air.io/_nicegui/1.4.23.dev0/resources/85bbe05f06862a2ef612c9d56a16ff70/editor.js

Maybe it's a problem with serving resources? But ui.leaflet, which also uses add_resource, does work.


Related discussion: #3126

@falkoschindler falkoschindler added the bug Something isn't working label May 24, 2024
@falkoschindler falkoschindler added this to the 1.4.27 milestone May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant