Questions tagged [symfonyux]
20 questions
2
votes
1 answer
Symfony ux-react: React component does not render when using react_component()
I've initialized a new Symfony project with version 6.3.3 and wanted to try out the symfony-ux stuff with React. So I followed this guide: https://symfony.com/bundles/ux-react/current/index.html
But I cannot get the react component to render on the…

Jonte Ferm
- 23
- 4
2
votes
2 answers
Symfony UX Chart.js just display a blank square
I have followed the official tutorial to get my chart on symfony : https://symfony.com/bundles/ux-chartjs/current/index.html
But the chart does not display, it is just blank. I head that it may be caused by an old version of Encore or Symfony UX…

Jean François Manatane
- 897
- 1
- 11
- 21
2
votes
0 answers
Symfony-UX / Stimulus - Error connecting controller
I wandet to try the Symfony Cropper UX-Component, but it resulted in an Javascript-Error:
Error connecting controller
TypeError: expected value of type "object" but instead got value "[]" of type "array"
at object (stimulus.js:1909:1)
at…

Tom
- 21
- 2
1
vote
0 answers
How add adapters to symfony/ux-chartjs?
Is there any possible options to use date adapters for time labels? I have exact same problem as this question, but it looks abandoned already.
In Symfony UX Chart.js doc only about using plugins. But when I tried to import any date adapter in…

Arrex
- 11
- 2
1
vote
1 answer
How to add DateTime adapter to symfony/ux-chartjs?
I am trying to setup ChartJS with Symfony UX. Since a default datetime adapter is not included with ChartJS 3+, I am getting the following error when using time unit in an axis.
This method is not implemented: Check that a complete date adapter is…

Joyce Babu
- 19,602
- 13
- 62
- 97
1
vote
1 answer
Why is Symfony UX-Autocomplete not working here?
My form works but auto-complete does not.
Anyone has an idea of what could be wrong?
Thanks and sorry for my english!
I tried adding "autocomplete" attribute:

db t
- 11
- 2
0
votes
1 answer
Symfony UX Autocomplete - choice_label with KnpLabs Translatable
Autocomplete choice labels don't translate
Platform is Symfony 6.3, with UX Autocomplete 2.9
My issue
My issue: I have a Symfony UX Autocomplete form field, the choice_labels are stored in translated form in the database. I cannot get the…

Julian Koster
- 262
- 1
- 10
0
votes
0 answers
Symfony UX and VueJs - multi-bundle structure
I just saw that Symfony has a bundle to integrate VueJs 3.
https://symfony.com/bundles/ux-vue/current/index.html
Has anyone already tried that - it would be interesting if it's possible to serve views in a multi-bundle structure.
Imagine you have a…

Corepex
- 107
- 1
- 10
0
votes
1 answer
ClassNotFoundError in Symfomy 6 project
I have this error on my Symfony 6.0 project:
Attempted to load class "TwigComponentBundle" from namespace "Symfony\UX\TwigComponent".
Did you forget a "use" statement for another namespace?
When I'm doing a "composer require symfony/framework-bundle…

Pierre Ernould
- 1
- 2
0
votes
1 answer
Symfony UX Swup, Unknown "stimulus_controller" function
I'm using symfony 6.3 and I have installed symfony/ux-swup:
//bundles.php
['all' => true],
Symfony\UX\Swup\SwupBundle::class => ['all' => true],
…

hous
- 2,577
- 2
- 27
- 66
0
votes
0 answers
Symfony UX - How to mix 2 Live Components?
I'm playing with Symfony UX, Twig Component and Live Component.
On the one hand, I set up the present example here : https://ux.symfony.com/live-component, it works well.
On another side, I have implemented this other example which is about…

Heybee
- 43
- 1
- 9
0
votes
2 answers
Add remove button on custom template Tom-Select
I have some problems with the Tom-Select template. When I use the default template, I can delete an item with the Delete button. But when I've defined mine, I can't delete anything.
I've my tomSelect element stored in tomSelect and the "DOM" change…

Rehark
- 1
- 3
0
votes
0 answers
Spread VueJs views accross multiple Symfony bundles
as you can already read in the headline my question is all about symfony (6) and vuejs (3).
I want to create an application that has the ability to add certain features via bundles.
In theory, this will look like this:
foo/bar -> main application…

Corepex
- 107
- 1
- 10
0
votes
0 answers
Symfony UX Turbo Autocomplete - Error with autocomplete options on EntityType
I'm currently testing Symfony UX Turbo and I have a problem with the autocomplete component.
Indeed, when I add, as the doc says, an 'autocomplete' option in my form addition, I get the following error:
An error has occurred resolving the options…

MaxPtdr
- 13
- 4
0
votes
2 answers
Reinitialize autocomplete after form submission
I have a custom autocomplete input that is not bound to any entities:
$builder
->add('input', TextType::class, [
'autocomplete' => true,
'autocomplete_url' => 'https://path-to-autocomplete',
'tom_select_options' => [
…

Kolyunya
- 5,973
- 7
- 46
- 81