Fix taglist onchange & onclick handlers were not parsed into javascript

This commit is contained in:
nathangray 2020-02-27 11:51:43 -07:00
parent bdc99ab30c
commit 251f09d28b
2 changed files with 8 additions and 4 deletions

View File

@ -700,10 +700,12 @@ var et2_taglist = /** @class */ (function (_super) {
"description": "Restricts or allows the user to type in arbitrary entries" "description": "Restricts or allows the user to type in arbitrary entries"
}, },
"onchange": { "onchange": {
"description": "Callback when tags are changed. Argument is the new selection." "description": "Callback when tags are changed. Argument is the new selection.",
"type": "js"
}, },
"onclick": { "onclick": {
"description": "Callback when a tag is clicked. The clicked tag is passed." "description": "Callback when a tag is clicked. The clicked tag is passed.",
"type": "js"
}, },
"tagRenderer": { "tagRenderer": {
"name": "Tag renderer", "name": "Tag renderer",

View File

@ -71,10 +71,12 @@ class et2_taglist extends et2_selectbox implements et2_IResizeable
}, },
"onchange": { "onchange": {
"description": "Callback when tags are changed. Argument is the new selection." "description": "Callback when tags are changed. Argument is the new selection.",
"type":"js"
}, },
"onclick": { "onclick": {
"description": "Callback when a tag is clicked. The clicked tag is passed." "description": "Callback when a tag is clicked. The clicked tag is passed.",
"type":"js"
}, },
"tagRenderer": { "tagRenderer": {
"name": "Tag renderer", "name": "Tag renderer",