Changes between Initial Version and Version 1 of Ticket #32348, comment 8
- Timestamp:
- Jan 15, 2021, 11:47:43 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32348, comment 8
initial v1 4 4 Hi! Thanks for your work. But there are probably two slight flaws I think: 5 5 1. When ValidationError is raised, it's no 'X' at the top right of form. That the UX is not comfortable is ticket #29087 talked about. 6 2. For {{{toggleDeleteButtonVisibility}}} function, my op tioncomes from [https://docs.djangoproject.com/en/3.1/intro/tutorial07/ **extra** form could not be removed] and [https://docs.djangoproject.com/en/3.1/topics/forms/formsets/ if a formset contains no data, then extra + min_num empty forms will be displayed]. So the calculation I think is:6 2. For {{{toggleDeleteButtonVisibility}}} function, my opinioncomes from [https://docs.djangoproject.com/en/3.1/intro/tutorial07/ **extra** form could not be removed] and [https://docs.djangoproject.com/en/3.1/topics/forms/formsets/ if a formset contains no data, then extra + min_num empty forms will be displayed]. So the calculation I think is: 7 7 {{{ 8 8 const isFormOverload = function() { … … 22 22 When {{{isFormOverload}}} returns true, all forms show 'X'. 23 23 24 I created patch [https://github.com/hramezani/django/pull/1 PR] and I'd like to know your op tion.24 I created patch [https://github.com/hramezani/django/pull/1 PR] and I'd like to know your opinion.