Fix select2 config typo (#5363)

This commit is contained in:
Richard Schreiber
2025-08-11 14:30:25 +02:00
committed by GitHub
parent 4e56ce8927
commit d8bf3d0b07

View File

@@ -594,7 +594,7 @@ var form_handlers = function (el) {
}
}
},
placeholder: $(this).attr("data-placeholder") | "",
placeholder: $(this).attr("data-placeholder") || "",
templateResult: function (res) {
if (!res.id) {
return res.text;