mirror of
https://github.com/ae-utbm/sith.git
synced 2026-03-13 15:15:03 +00:00
use dynamic formset for product action formset
This commit is contained in:
@@ -21,6 +21,9 @@ document.addEventListener("alpine:init", () => {
|
||||
* - a button with `@click="addForm"`
|
||||
* - you may also have one or more buttons with `@click="removeForm(element)"`,
|
||||
* where `element` is the HTML element containing the form.
|
||||
*
|
||||
* For an example of how this is used, you can have a look to
|
||||
* `counter/templates/counter/product_form.jinja`
|
||||
*/
|
||||
Alpine.data("dynamicFormSet", (config?: Config) => ({
|
||||
init() {
|
||||
|
||||
Reference in New Issue
Block a user