Comments (5)
From stan.madueke on February 08, 2011 21:07:12
Status: Accepted
Owner: stan.madueke
from django-dynamic-formset.
From [email protected] on February 13, 2011 11:12:03
I think I may of fixed this issue. I grab the latest copy of your java script. I also re-wrote my form template and removed a call back function I was doing when a new row was added. Since then I have not been able to re-produce the issue.
from django-dynamic-formset.
From stan.madueke on February 14, 2011 05:52:02
Yay! That's good news. D'you mind posting the details of your callback method? It'd be nice to know for sure, before I close this.
from django-dynamic-formset.
From [email protected] on February 14, 2011 06:17:40
This is what I was using
<script type="text/javascript">
$(function() {
$('tbody tr').formset({
prefix: '{{ formset.prefix }}',
added: function(row){
var aisle = row.find('td.aisle input');
aisle.val('other');
},
extraClasses: ['row1', 'row2']
});
})
</script>
I am not 100% sure I was using version 1.2 of your library. Both version 1.1 and 1.2 have this in the source code at the top
- jQuery Formset 1.1
- @author Stanislaus Madueke (stan DOT madueke AT gmail DOT com)
- @requires jQuery 1.2.6 or later
So I updated the library to be on the safe side.
from django-dynamic-formset.
From stan.madueke on February 14, 2011 06:41:52
That seems benign...don't see how that'd cause anything to stop working. I guess the wrong version number in the code is the real bug here :) I'll go ahead and close this then. Thanks!
Status: Fixed
from django-dynamic-formset.
Related Issues (20)
- delete link doesn't show and formCount is NaN HOT 4
- Uncaught ReferenceError: deleteButtonHTML is not defined
- No remove button and add won't add form HOT 3
- Simlutaneous deletion and creation not working HOT 8
- I have installed django_dynamic_formsets but it says the module not installed dynamic_formsets. I'm using windows 10 with python version 3.8.5.
- Limit minimum and maximum of formsets
- Nested formsets HOT 1
- Demo package download link is down
- Is it possible to include html inside addText or deleteText? HOT 4
- nothing
- deleteContainerClass does not seem to be working
- Only rows specified in 'extra' are saved and rows above 'extra' do not have default values
- deleteContainerClass not working properly HOT 1
- how to use onKeyup for django formset input fields
- delete button shows up only once in django formset that is created with queryset to edit
- Clicking on add row in update mode displays foreign keys even if label is none. HOT 1
- Input field id show NaN instead of increased number even with prefix set HOT 6
- does not seem to work with file fields HOT 1
- Deleting instance not working when hideLastAddForm is true HOT 1
- Unsetting and resetting the current formset
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 django-dynamic-formset.