We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c11158d commit 6dea445Copy full SHA for 6dea445
app/javascript/src/casa_case.js
@@ -156,7 +156,8 @@ function handleModalClose() {
156
if (!selectEl) return
157
158
clearSelectErrors()
159
- // TODO: clear selected case as well?
+ // this line taken from docs https://select2.org/programmatic-control/add-select-clear-items
160
+ $('#case-selection').val(null).trigger('change')
161
}
162
163
$(() => { // JQuery's callback for the DOM loading
0 commit comments