custom-widgets icon indicating copy to clipboard operation
custom-widgets copied to clipboard

NonValue widget example

Open xxxKOTxxx opened this issue 4 years ago • 2 comments

Hi!

Have you any example, how to correct implement nonvalue custom widet (like html widget)?

I want to create customizable link widget (to add redirecr url automatically).
Also it can be used for glossary creation.

xxxKOTxxx avatar Apr 01 '20 06:04 xxxKOTxxx

Transferred the issue in the corresponding repo

tsv2013 avatar Apr 01 '20 08:04 tsv2013

Custom widget ant this moment can be instantiated from the question with value. Because the base custom widget support is resides in the Question class, which is already a value holder. Nothing bad will happens and the value will be undefined and will not appear in survey results.

The example will be absolutely the same - https://plnkr.co/edit/HdnYE5?p=preview&preview

tsv2013 avatar Apr 01 '20 08:04 tsv2013