Hi there,
We recently added a new custom property called "Format" for the questions of type "text". This new property is similar to the "inputType" property.
The new property we created is shown correctly on the sidebar, but we would like to have it also rendered on the designer. We were able to remove the inputType property from the designer, but we couldn't add the new custom property to the designer.
The new property has also multiple options, similar to the inputType property. Is there a way to render it (new property is on green on the image) on the designer where currently inputType is rendered (red in the image)? Or maybe a way to replace the behavior of the inputType property (replace choices / onSetValue / onSettingValue/ etc)?
Thanks
Hello Luan,
Thank you for contacting us. If you wish to render a custom property on a survey element on a design surface, you can add a custom adorder action. Please follow this demo for further details: Create Custom Adorners.
Please let me know if you have any questions or require further assistance.
Thank you Jane. But I need to be able to have an "adorner" that works like a dropdown, like on the inputType property. On the example is just a simple button.
How would I change it to be a dropdown and add options to it? The documentation of the onDefineElementMenuItems does not contain many details