http://novye-podarki.ru/empty35_.html#%D0%A6%D0%B2%D0%B5%D1%82%D1%8B%20%D0%BB%D1%8E%D0%B1%D0%B8%D0%BC%D0%BE%D0%B9\define filparn(name) <br> min: <$list filter="[is[current]tagging[]tag[$:/Note]!tag[$:/hide]!list[$:/temp/_HideStoryList!!list]nsort[$name$]limit[1]]"> <$view field="$name$" /> </$list>{{$:/temp/_valuta}} max: <$list filter="[is[current]tagging[]tag[$:/Note]!tag[$:/hide]!list[$:/temp/_HideStoryList!!list]!nsort[$name$]limit[1]]"> <$view field="$name$" /> </$list> {{$:/temp/_valuta}} from <$edit-text tiddler="$:/temp/state/filpar/_$name$FROM" tag="input" type="text" placeholder="From " default="" size=6 oninput="setTimeout(function() { document.getElementsByClassName('input_$name$')[0].click(); }, 500);" /> to <$edit-text tiddler="$:/temp/state/filpar/_$name$TO" tag="input" type="text" placeholder="to " default="" size=6 oninput="setTimeout(function() { document.getElementsByClassName('input_$name$')[0].click(); }, 500);" /> {{$:/temp/_valuta}} <div style="display:none"> <$button class="input_$name$" > <$action-listops $tiddler="$:/temp/_HideStoryList" $field="list_$name$" $filter="[[]]"/> <$list filter="[is[current]tagging[]tag[$:/Note]!greaterthan:$name${$:/temp/state/filpar/_$name$FROM}][is[current]tagging[]tag[$:/Note]greaterthan:$name${$:/temp/state/filpar/_$name$TO}]" variable="add"> <$action-listops $tiddler="$:/temp/_HideStoryList" $field="list_$name$" $subfilter="[<add>]"/> </$list> <<ListCombainDel>> result </$button> </div> \end select price <<filparn stoimost>>
I dont like to modify core of TW5. But...... I can modify http://novye-podarki.ru/empty35_.html#%24%3A%2Fcore%2Fmodules%2Fwidgets%2Fedit-text.js and put two lines of code to add oninput value (so I did it) after it I can put any javascript code to my $edit-text widget. For example I put code that push $button with class="oninput" and my $button make make all $action I want. ( I hide button with display:none) code of my macros is at the beginning. Demo of oninput working you can see here http://novye-podarki.ru/empty35_.html#%D0%A6%D0%B2%D0%B5%D1%82%D1%8B%20%D0%BB%D1%8E%D0%B1%D0%B8%D0%BC%D0%BE%D0%B9 -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/582920d9-68a2-4b0d-8741-e899d259983d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

