I am currently developing a custom component. I am trying to import and use an external library so I don’t have to recreate everything from the ground up. I am importing it successfully, however actually declaring it in my code makes Adalo crash when I try to select the custom component in the Adalo editor.
The ScheduleSelector tag that is highlighted is breaking the component. Here is what I see when I try to select the component in the Adalo editor for my app:
Does anyone know why this might be happening? Are there any common reasons why this error occurs in custom components?
Not a custom component developer so can’t help here! But I see that Daniel ( @danielcosta ) helped you with a issue about a custom component and maybe he can help here too?
Or other component developers will help here!
And also I think there’s a slack channel for component developers that you can join and ask these questions! I think you need to contact Barrett ( @barrettnash ) to join there!
Hey @knuggie, your problem could either be any Typescript file inside your component, or another one. Could you provide some logs from the browser console?
Hey @danielcosta , so essentially if my custom component is using typescript at all, it will not work - correct? Right now, the folder containing ScheduleSelector has many typescript files.
Hi @James_App_Maker , but in order to run an adalo custom component, is it not a requirement for it to work in both react and react-native? For my usage, this custom component would only be used on with react (not on mobile).