How to render component/helper by name from instance field?

后端 未结 2 808
执笔经年
执笔经年 2021-01-24 07:27

Is there way to use component from controller/view field

So instead of using

{{contact-select label=\"Label:\" contacts=form.prop}}
// or
{{input-field         


        
2条回答
  •  我在风中等你
    2021-01-24 07:44

    You can use the component helper that was introduced in 1.11.0. Unfortunately there was no built-in way to do it before 1.11.0. If you're not able to upgrade, this thread can point you in the direction of writing your own helper.

提交回复
热议问题