You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
Can't use "title" name of fields in my model if I want to open it in dialogmodelform.
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?
The text was updated successfully, but these errors were encountered: