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

Join fields can't be added to the signup form #7

Open
Jose96GIT opened this issue Sep 11, 2019 · 4 comments
Open

Join fields can't be added to the signup form #7

Jose96GIT opened this issue Sep 11, 2019 · 4 comments
Labels
help wanted Extra attention is needed

Comments

@Jose96GIT
Copy link
Contributor

Hi, I've tried to add some fields with joinByOne or joinByArray types and when I load the signup page, the browser show me some errors in its console. And those buttons are not working. Is this maybe an issue to fix?

I'll attach an image with the browser error and also a simple project that reflects this.

This is not related with the issue, but I also noticed that there's no a require of lodash, and it's necessary to do the password shallow copy.

Thanks!

image
test-signup-project.zip

@boutell
Copy link
Contributor

boutell commented Sep 11, 2019 via email

@Jose96GIT
Copy link
Contributor Author

Hi Tom, what i was refearing with lodash is that there isn't any require of it, so if I'm not understanding it wrong, Apostrophe can't know that _ is referencing lodash.

In relation to the joins, by default this module is setting the scene to user, eventhough is not pushing all the necessary Javascript. Is there something that I'm forgetting to do?

I've also prove it in homepage, setting the req.scene to user, adding this code to the html.

{{ buttons.inContext('edit Image', {
        url: '#',
        action: 'manage-apostrophe-image'
    }) }}

And it also fails, so it seems that there's something that I'm not doing.

Thanks for your help once again!

@boutell
Copy link
Contributor

boutell commented Sep 12, 2019 via email

@boutell
Copy link
Contributor

boutell commented Sep 12, 2019 via email

@abea abea added the help wanted Extra attention is needed label May 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants