-
I am having problems getting a global callback to work. In my individuals_add.rs file, I have
In my appwindow.60 file, I have the global
In my ui_individuals.60 file, I have the LineEdit:
But I get the error: error: Cannot access id 'Individual'
I tried declaring the global in all three files, without success. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You need to import it. The best is to have the global in a "individual.60", so you can do import { Individual } from "individual.60"; in every file that needs it. And don't forget to re-export it from the appwindow.60: |
Beta Was this translation helpful? Give feedback.
You need to import it.
The best is to have the global in a "individual.60", so you can do
in every file that needs it.
And don't forget to re-export it from the appwindow.60:
export { Individual }