Comments (5)
from yii2-dynamicform.
I have looked into the given code. It has resolved my issue for 0 limit. Now I am able to add form when limit is 0. But It created another problem while updating record. It is working perfect on create action.
For example, I have Article and attachments. I have used dynamic form for attachments where short description and attachment image are fields. Now I have added new article with only 1 attachment image. So On 0th position I have attachment record. Now I want to update article and add another attachment. I clicked "+Add" button and It is cloning same 0th position form with data. Every time I click on +Add button it is cloning same 0th position form. Actually It should clone but with blank.
@wbraganca Did you face this issue? I stick on this position, I am not getting any solution for this.
from yii2-dynamicform.
No Reply. In given example, add Item functionality showing. But while updating record, there is no example. I am facing issue while updating record.
from yii2-dynamicform.
from yii2-dynamicform.
how should be the _controller (actionUpdate & actionCreate) if i want to have two dynamic forms in one view
from yii2-dynamicform.
Related Issues (20)
- autocomplete and dynamic form
- Updating yii2 Select2 ID in yii2-dynamicform
- hide icon button of class="delete-item" if min 1 or more than 1 HOT 1
- explain $searchModel = new CustomerQuery() this line code for Nested dynamic forms Demo 1
- How to create controller in demo 1 (Nested Dynamic Form) HOT 2
- How to create controller in demo 1 (Nested Dynamic Form)
- Upload widget does not work - Dynamic form Yii2 starter kit HOT 2
- Ajax validation stop working after deleting any dynamic item HOT 1
- TreeViewInput widget from the karti-v/yii2-tree-manager does not work
- dropDownList and checkbox not reset value beforeInsert
- Inconsistency in dom ids
- Speed issues with Dynamic form
- Dynamic form behavior not working properly with javascript alert in yii2
- Uncaught TypeError: yiiActiveFormData is undefined
- dom-crawler bug with PHP 8.1: please use a newer version HOT 7
- Cant save in data in database using dynamic form in one model
- Cannot read properties of undefined (reading 'settings') HOT 1
- Select2 problem on nested
- Clone issue in update form HOT 1
- How can I handle $i model attribute
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yii2-dynamicform.