I'd like to start implementing a custom canvas item which will either show a normal select item or a text field with no border if it is read-only.
Up to this point, I have only made custom canvas items from canvas objects. This time I would like to avoid using a canvas object and just toggle between a selectItem and a staticTextItem. Is this possible? Or do I have to have a dynamic form with two fields in there and override setDisabled to have the show/hide logic?
Up to this point, I have only made custom canvas items from canvas objects. This time I would like to avoid using a canvas object and just toggle between a selectItem and a staticTextItem. Is this possible? Or do I have to have a dynamic form with two fields in there and override setDisabled to have the show/hide logic?
Comment