Looking to hire someone to help you implement Bryntum products? Or are you a consultant who want to offer your services? This is the forum for you.


Post by renangi100 »

Hi

I am getting this error, when Page load first time it is working, data we are passing using rest api, with multiple parameters.

Error: Type "addresssearchfield" already registered with j7 factory

How to reload or reset

Please let me know
Thanks
Madhu


Post by alex.l »

Hi Madhu,

What is "addresssearchfield" and what is j7 factory?
Please provide more context. Best of all to have a runnable demo.

All the best,
Alex Lazarev

How to ask for help? Please read our Support Policy

We do not write the code in bounds of forum support. If you need help with development, contact us via bryntum.com/services


Post by renangi100 »

Hi alex
I will explain what I did, I have a dropdown and search button, when i select a value and click submit, there will be a rest api calling, it will fetch the data, that data i am sending to Scheduler,

When I selecting value from the dropdown , submit Scheduler map coming first time ,
When I select other value from the dropdown submit, i am getting data from the reset api, Scheduler not coming
Throwing error,
Error: Type "addresssearchfield" already registered with j7 factory
is there any way to check Register with Factory ..

Thanks
Madhu


Post by renangi100 »

Error: Type "addresssearchfield" already registered with j7 factory
at AddressSearchField.register (schedulerpro.umd.js:17:613826)
at AddressSearchField.setupType (schedulerpro.umd.js:17:615005)
at AddressSearchField.setupClass (schedulerpro.umd.js:17:357689)
at AddressSearchField.setupClass (schedulerpro.umd.js:17:377996)
at get $meta (schedulerpro.umd.js:17:355997)
at AddressSearchField.initClass (schedulerpro.umd.js:17:355808)

suggest me how to check "addresssearchfield" ,MapPanel, Schedule registered or not


Post by marcio »

Hey Madhu,

Sorry but there isn't that much information to provide clear support on what's happening there.

Would it be possible to share a runnable test case for us to debug and check what's causing that error?

You can have more info on that by checking our guidelines here https://www.bryntum.com/forum/viewtopic.php?f=1&t=772.

Best regards,
Márcio

How to ask for help? Please read our Support Policy


Post Reply