Questions tagged [fosjsroutingbundle]

This bundle allows to expose Symfony Routes to JavaScript, so you can generate relative or absolute URLs in the browser using the same routes as in the backend.

This bundle allows to expose Symfony Routes to JavaScript, so you can generate relative or absolute URLs in the browser using the same routes as in the backend.

For more information please check the documentation.

20 questions
1
vote
0 answers

Symfony4.3 Uncaught Error: The route "xxxx" does not exist

I have the problem for fosJsRouteBundle in symfony 4.3 i have error in console Uncaught Error: The route "xxx" does not exist. Uncaught Error: The route "app_autocompleted" does not exist. at r.value (router.min.js:1) at r.value…
Emer
  • 11
  • 1
1
vote
2 answers

FOSJsRoutingBundle integration with Symfony Flex

The issue is that I cannot get FOSJsRoutingBundle to work with Symfony Flex and Webpack. I've been using this bundle in Symfony 3 for a long time and there's never been an issue but with the introduction of webpack, the setup has become more…
Dan
  • 11,914
  • 14
  • 49
  • 112
1
vote
0 answers

Daterange Filter in Symfony using fosjsrouting Bundle

I'm very new to ajax requests. I'm trying to make a date range filter to show posts between two dates, for that i'm using this Calendar. This is the Calendar Input: And in Js i use this…
1
vote
3 answers

4 FOSJSRouting callback=fos.Router.setData & Route not found in production only

I am developing a page within Symfony 4 that requires the FOSJSrouting bundle. Within my DEV environment - using docker - I got it working fine using the steps below. However, in my prod environment I keep getting the errors: -…
Stormnorm
  • 171
  • 4
  • 11
0
votes
0 answers

Symfony fosRouter js in handlebars

Is possible to push Routing.generate() to handlebars template ?
Developer
  • 2,731
  • 2
  • 41
  • 71
0
votes
1 answer

JsonResponse returns the json response plus the request data in string format problem

I'm making post requests using ajax in my symfony 4.4 project, and i return the response using fosrestbundle, sometimes it returns a correct json response but sometimes, the response includes also the data sent with request as a string, which is…
0
votes
0 answers

Symfony 5 - Last accessed page matches "fos_js_routing_js"

I have the following problem where I've added the FosJSRoutingBundle to my project, and added the links to my base template