Hello,
I have an issue with style refresh while using RadioWidget in a view template element.
I am using Edge - Version 86.
I have defined a style to use for the label of a a radio button input when it is selected (by using the "tc-radio-selected"). This is working when I directly use the RadioWidget in a tiddler.
However, if I use the RadioWidget in a tiddler tagged with "$:/tags/ViewTemplate", the style is not refreshed unless I edit the tiddler or close it then open it again.
Here is a minimal test case with three tiddlers:
title: Test Template
tags: $:/tags/ViewTemplate
<$radio field="test-field" value="Y">Yes</$radio>
<$radio field="test-field" value="N">No</$radio>
title: Test CSS
tags: $:/tags/Stylesheet
label.tc-radio-selected {
background-color: #ffc;
}
title: Test
<$radio field="test-field" value="Y">Yes</$radio>
<$radio field="test-field" value="N">No</$radio>
My question: How can I fix it?
(Am i doing something wrong? Is-it a widget issue? An internet browser issue? à
Best regards,
Eskha