Open orelhochenboym opened 1 year ago
Can you record a video or share some code? I'm not sure what's the issue because of:
The rest of the Create New/Edit forms (entities) works well.
It seems to be related to specific resources only?
Unfortunately we can't record and send videos because its confidential information inside a private network. The problem occurs on specific resources only, we have no clue on why these specific resources (tables) are not working properly.
I had a similar issue, and after debugging, I found that in some of my models, the submit function in the New Action component skipped for some reason, and because of that, the browser took over the submission and put the form data in the url.
I still didn't figure it out.
@dziraf did you see something like that before?
Contact Details
No response
What happened?
I have a postgres db implemented with sequelize. I can use all of adminjs' functionalities for adding, editing, removing etc. for all my entities except one entity/relationship.
When I'm adding a relation between item into station, adminjs sends a a request with the appropriate fields and valus, though sends a GET request instead of POST in order to create a new record in the db. I've tried adding those records using postman, everything works great when I send the same request but as a POST request. I also can't edit with adminjs the aforementioned entities (UPDATE request).
The rest of the Create New/Edit forms (entities) works well.
Bug prevalence
Everytime I'm using a form for add/edit
AdminJS dependencies version
"@adminjs/express": "5.1.0", "@adminjs/sequelize": "3.0.0", "@adminjs/upload": "3.0.1", "adminjs": "6.8.6",
What browsers do you see the problem on?
Chrome, Microsoft Edge
Relevant log output
No response
Relevant code that's giving you issues
No response