mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
Update select.js
This commit is contained in:
parent
f9c4f6898e
commit
16fe9fd5ce
@ -3,7 +3,7 @@ title: $:/core/modules/widgets/select.js
|
||||
type: application/javascript
|
||||
module-type: widget
|
||||
|
||||
Select widget (NG mod):
|
||||
Select widget:
|
||||
|
||||
```
|
||||
<$select tiddler="MyTiddler" field="text">
|
||||
@ -53,6 +53,7 @@ Handle a change event
|
||||
SelectWidget.prototype.handleChangeEvent = function(event) {
|
||||
var value = this.getSelectDomNode().value;
|
||||
this.wiki.setText(this.selectTitle,this.selectField,this.selectIndex,value);
|
||||
this.invokeActions(event);
|
||||
};
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user