-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
Can't use "title" name of fields in my model if I want to open it in dialogmodelform.
title = "add/edit"
induce_open = '..create_dish.edit_cat:active || ..create_dish.add_cat:active'
induce_close = '.change:active || .cancel:active'
class Meta:
model = DishCatalog
fields = ['id','title',]
If I use name of the field as 'title" I have a problem in frontend:
Multiple form field elements in the same form have the same id attribute value. This might prevent the browser from correctly autofilling the form.
To fix this issue, use unique id attribute values for each form field.
It happends because of title name already used with dialog-header.
Or I wrong?
Metadata
Metadata
Assignees
Labels
No labels