Skip to main content
Filter by
Sorted by
Tagged with
0 votes
2 answers
57 views

I'm using a LiveComponent to access a form with a OneToMany collection. Adding an item works perfectly, but when I delete an item, the entire collection is deleted. The code is below. ->add('...
Stoads's user avatar
  • 162
2 votes
1 answer
104 views

I would like to have multiple markers on the same map with Symfony and UX Map! I've read the documentation but can't find the solution there! At the moment, I can get all the markers but on different ...
d3LTa7's user avatar
  • 69
0 votes
0 answers
81 views

I’m having trouble with file uploads in Symfony UX LiveComponent. I’m using Symfony 7.2, Symfony UX 2.x, and PHP 8.2. The problem I have a LiveComponent form that includes a file upload field. On the ...
woweya's user avatar
  • 1
0 votes
1 answer
40 views

I'm using Symfony UX Live Components to edit an NtExam. I get this error when editing the form: Expected argument of type "string", "null" given at property path "exam_title&...
Demi God's user avatar
  • 105
0 votes
1 answer
87 views

So, as per the docs, this is how we upload a file in Symfony Live components. If we have to upload a file along with other input, how to do it? Code from docs: <p> <input type="file&...
steven zong's user avatar
0 votes
0 answers
196 views

I'm working with Symfony Live Components and noticed an issue when switching between child components. My parent template looks like this: {% if step == 1 %} <twig:ChildComponent1 /> {% ...
Demi God's user avatar
  • 105
0 votes
0 answers
204 views

I have a question regarding Symfony UX Live Components and forms. Context: Imagine you have a Parent Component and a nested Child Component. Both are Live Components and both include Symfony FORMS (...
woweya's user avatar
  • 1
3 votes
2 answers
392 views

I am trying to use the Symfony UX LiveComponent, firstly I tried to use the first exemple of the documentation: // ArticleSearch.php <?php namespace App\Twig\Components; use App\Repository\...
Lunyx's user avatar
  • 91
-1 votes
1 answer
130 views

I'm working on a Symfony 7 project with symfony/ux-twig-component v2.22.1 and tales-from-a-dev/twig-tailwind-extra v0.2.1 packages. I sometime have to override some default tailwind classes in my ...
humblots's user avatar
-1 votes
1 answer
75 views

I have a LiveComponent with an array of prices, depending on if a checkbox is checked or not the prices should be with VAT in- or excluded. This works nicely. The problem is: When I check the box -&...
O'Niel's user avatar
  • 1,683
0 votes
1 answer
178 views

I implemented LiveComponent on my form containing a date and other fields. I use a DateType field compatible with html5. When I use my form and type a date that starts with 0 (eg: 05/10/2024), I have ...
Wikub's user avatar
  • 33
0 votes
1 answer
899 views

class PostForm extends AbstractController { use DefaultActionTrait; use ComponentWithFormTrait; /** * The initial data used to create the form. */ #[LiveProp] public ?...
Onesine Nkemy A Lontio's user avatar
1 vote
0 answers
276 views

I want to add a dynamic field in a form. However, when clicking on the concerned field, nothing happens. Indeed, when clicking on the "Can publish a podcast" field, another field should ...
Cassius's user avatar
  • 19
0 votes
1 answer
120 views

I am currently using symfony with many packages of symfony ux, and my external scripts (such as font awesome or google fonts) are not loaded, i receive this error message : Content-Security-Policy : ...
user26640600's user avatar
2 votes
1 answer
1k views

I have two Tom Select (select inputs) configured through Symfony UX Autocomplete and Stimulus : First holds the main category ("Batterie démarrage moto" in the example). Second one is ...
Thomas's user avatar
  • 956
0 votes
0 answers
300 views

I would like to use Symfony UX and the Dropzone component in my project to allow image downloading. Everything seems to work fine. However, I can't get the files in my controller to process and upload ...
MikaelHdx's user avatar
0 votes
1 answer
1k views

I'm implementing a LiveComponent that contains a collection of child components. Everything works mostly fine, but I don't see how can I update a parent model if the updated property is an array. Is ...
kachnitel's user avatar
  • 476
1 vote
1 answer
123 views

I have simple contact form: <form id='contactform' action="{{ path('app_contact_send') }}" method="POST" name="contactform"> <ul class="form-cover"&...
Miguel Mejia's user avatar
1 vote
2 answers
2k views

I'm struggling with configuration of Symfony UX Autocomplete component extension - My goal is to modify TomSelelct Instance - the way how its rendered and add options like https://tom-select.js.org/...
Tomasz Buczeń's user avatar
0 votes
1 answer
823 views

please can someone help me with ux-live-component even tho i executed the commands : composer require symfony/ux-twig-component composer require symfony/ux-live-component composer require symfony/...
reda's user avatar
  • 1
3 votes
3 answers
4k views

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 ...
Jonte Ferm's user avatar
0 votes
1 answer
547 views

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 ...
Julian Koster's user avatar
6 votes
4 answers
2k views

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 ...
Jean François Manatane's user avatar
0 votes
1 answer
1k views

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 ...
Pierre Ernould's user avatar
3 votes
1 answer
1k views

I'm using symfony 6.3 and I have installed symfony/ux-swup: //bundles.php <?php return [ // .............. Symfony\WebpackEncoreBundle\WebpackEncoreBundle::class => ['all' => true], ...
hous's user avatar
  • 2,776
2 votes
0 answers
1k views

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 ...
Heybee's user avatar
  • 73
0 votes
4 answers
1k views

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 defined my own, I can't delete anything. I have my tomSelect ...
Rehark's user avatar
  • 51
1 vote
0 answers
257 views

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 ...
Arrex's user avatar
  • 11
2 votes
1 answer
582 views

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 ...
Joyce Babu's user avatar
  • 20.9k
0 votes
2 answers
468 views

I have a custom autocomplete input that is not bound to any entities: $builder ->add('input', TextType::class, [ 'autocomplete' => true, 'autocomplete_url' => 'https://...
Kolyunya's user avatar
  • 6,250
3 votes
2 answers
1k views

I have a problem with displaying a chart in easyadmin. It does show up in the HTML as shown below. <canvas data-controller="symfony--ux-chartjs--chart" data-symfony--ux-chartjs--chart-...
Chris America's user avatar
1 vote
2 answers
4k views

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: <?php namespace App\Form; ...
db t's user avatar
  • 11
3 votes
0 answers
1k views

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 "[]...
Tom's user avatar
  • 31
0 votes
2 answers
928 views

is there a way in symfony easyadmin I can configureFields of type symfony ux Dropzone ?? I used this method but when I drag drop, the preview image does not show ,any help yield Field::new('imageFile')...
Devlo's user avatar
  • 3