Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey
0 votes
1 answer
362 views

I have an entity ClientFileAction which is parent to an entity Attachment in OneToMany relation. Attachment holds not only file path, but also information about files, like title, upload date, etc. ...
K. Weber's user avatar
  • 2,803
1 vote
0 answers
574 views

I have a FormType which contains an embedded collection of another FormType, all is working properly and done according to How to Embed a Collection of Forms. My embedded FormType is an attachment ...
K. Weber's user avatar
  • 2,803
1 vote
0 answers
40 views

I am doing an ajax call where I serialize two forms but when passing the data in only the 2nd forms' key and value is showing up for both parameters, is there a better way to do this or am I missing ...
jack's user avatar
  • 67
0 votes
0 answers
374 views

I am trying to loop through a FormCollection where I want to specify the index and key of the formcollection but am not having luck. FormCollection Keys Example form[0][keyA] form[0][keyB] form[0][...
jack's user avatar
  • 67
0 votes
1 answer
84 views

I am using FormCollection and GetValues() and I am encountering issues if I resubmit the information. I have a button that Calculates the Slope of a range of entries. When I Calculate the Slope I save ...
Ethel Patrick's user avatar
-1 votes
1 answer
550 views

I'm trying to upload multi images using vich upload bundle and symfony 5 : I created a one to many relation between User and Images : /** * @ORM\Entity(repositoryClass=UserRepository::class) * @...
Khaled Boussoffara's user avatar
1 vote
1 answer
755 views

I created a Symfony Poll-Bundle which has the Entitys Campaign->Block->Line->Field->PollResult. So i have a CollectionType CampaignType which consists of many blocks. One block consist of ...
lxg95's user avatar
  • 593
0 votes
1 answer
435 views

This time I'm working on a small MVC application. In the update part of my model in the controller, all the field values are passed through in the controller. One of the fields is a decimal value. ...
Stephan's user avatar
  • 665
0 votes
1 answer
73 views

The problem I have two entities, one called Question that can be self-referencing, it has an association with QuestionSubQuestions (it was necessary to add some extra fields like filter) so it can ...
Williams A.'s user avatar
0 votes
1 answer
55 views

List<siplist> itemList = new List<siplist>(); string AUNT= form["Amount"].Trim(); result 123,1234,123 string Date = form["Date"].Trim(); result 2020-02-18,2020-02-17,2020-...
曾建銘's user avatar
0 votes
0 answers
57 views

While running test case gets success but data doesn't get update in database I was getting system null exception that is resolve by using controller context but unable to update data **Unit test ...
Reshu's user avatar
  • 1
1 vote
1 answer
1k views

So in my Vue component, I have the following file upload dialog. <div class="file has-name is-right"> <label class="file-label"> <input class="file-input" type="file" v-on:change=...
Dan's user avatar
  • 111
0 votes
1 answer
109 views

I'm coming to you to solve a brain killer issue. So i've a basic form to generate sub forms. I would like to pass array data to the sub form but array pass are data distorted. I've also got an ...
Hatoo's user avatar
  • 1
0 votes
1 answer
135 views

I have a conditional input or select list on my razor view. When I put the action directly on my form it works fine; but when I try to get form value and send it to my controller it doesn't pass the ...
Mariner's user avatar
0 votes
2 answers
2k views

I created a Partial Razor view with dynamically created fields: for (int i = 0 ; i < atr.Count; i++) { <div class="col-md-12 panel panel-default sx-box-shadow-on-hover"> <div ...
Guicho's user avatar
  • 3

15 30 50 per page
1
2 3 4 5
13