javascript - riotjs: nested <inner-html> tag not working -
i'm trying build extended set of custom components handling form elements. start wanted create form-components custom tag, handles showing of label (and later basic validation rules) , specific components.
in this fiddle can see set up. i'm using nested tags example copy nodes parent tag child tag. however, seems work 1 deep.
i'm doubting wether approach right way go , isn't supported, or i'm looking @ wrong direction.
ideas anyone?
i updated fiddle riot.js v2.0.15 , replaced <inner-html/> tag new <yield/> tag , seems work.
fiddle: http://jsfiddle.net/e3p9n4pd/
Comments
Post a Comment