Comments (5)
Which version of yii2 are you using?
from yii2-dynamicform.
The last one I suppose : "yiisoft/yii2": "*",
from yii2-dynamicform.
I did not find any problem. Put here the code of your view.
from yii2-dynamicform.
Did you tried in the actionCreate :
$modelsAddress = [
new Address([
'full_name' => 'test'
]),
new Address([
'full_name' => 'test2'
]),
];
I don't understand why the javascript remove my DOM models in the view ??!!
Since the big update the first child doesn't appear anymore in the create action.
from yii2-dynamicform.
I figured out !
That was because I put 'min' => 0
instead of 1
It removed all my items (at line 187 in DynamicFormWidget)
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.