Add the ListEditWidget
Review Request #8982 — Created June 1, 2017 and submitted
The
ListEditWidget
provides an interface for editing a delimited
list of values as a list of input fields.
Used this with an upcoming change for Review Board.
Description | From | Last Updated |
---|---|---|
W293 blank line contains whitespace |
reviewbot | |
W293 blank line contains whitespace |
reviewbot | |
W293 blank line contains whitespace |
reviewbot | |
W293 blank line contains whitespace |
reviewbot | |
W293 blank line contains whitespace |
reviewbot | |
W293 blank line contains whitespace |
reviewbot | |
W293 blank line contains whitespace |
reviewbot | |
W293 blank line contains whitespace |
reviewbot | |
Col: 73 Missing semicolon. |
reviewbot | |
Col: 72 Expected ')' and instead saw ';'. |
reviewbot | |
W293 blank line contains whitespace |
reviewbot | |
W293 blank line contains whitespace |
reviewbot | |
W293 blank line contains whitespace |
reviewbot | |
W293 blank line contains whitespace |
reviewbot | |
W293 blank line contains whitespace |
reviewbot | |
W293 blank line contains whitespace |
reviewbot | |
W293 blank line contains whitespace |
reviewbot | |
W293 blank line contains whitespace |
reviewbot | |
No space between function and () |
david | |
Shouldn't have trailing commas in non-ES6 code. |
david | |
, optional |
david | |
, optional |
david | |
You're using the variable name item in both the inner and outer loops. How about different names? |
david | |
Trailing comma? |
david | |
Missing Args/Returns |
david | |
Trailing whitespace. |
david | |
No spaces around the = |
david | |
We have a default value (empty object) for options. What happens if this is constructed with that default? It looks … |
david | |
Trailing comma? |
david | |
W293 blank line contains whitespace |
reviewbot | |
W293 blank line contains whitespace |
reviewbot | |
Col: 68 Missing semicolon. |
reviewbot | |
Col: 64 Missing semicolon. |
reviewbot | |
W293 blank line contains whitespace |
reviewbot | |
W293 blank line contains whitespace |
reviewbot | |
Can we change this around a little bit so we have: const $entry = $(...) .insertBefore(this._$addBtn); $entry .find(...) .on(...) .end() … |
david |
- Change Summary:
-
Added unit tests. Fixed some bugs. Addressed David's feedback.
- Diff:
-
Revision 5 (+469 -1)
- Added Files: