Populating fields using a custom property editor
o
Hi everyone! I'm building a custom property editor using Lit and TypeScript on Bellissima. I want to create a simple button that, when clicked, fills the values of other text string and text area property editors with dummy data. How can I read and write to the other fields from my custom property editor? I've been trying to find the input fields using querySelectors, but it seems very complicated with the shadow DOM and all that Thanks in advance! https://cdn.discordapp.com/attachments/1255868647247839274/1255868647600296058/Screenshot_2024-06-27_144605.png?ex=667eb252&is=667d60d2&hm=c3a0bdd914a96b03722d9672ca94cbcabe5f9bf3cbc63a671e2f99fe29c1019d&
m
I'm having the same problem with a package I'm trying to develop. I can't find a way of targeting specific properties. If you find a solution please let me know.
w
I've still not properly started playing around with the new backoffice framework. But I believe you should be able to get the document workspace context in your custom data type and use that to set the value of any other property on the document.
5 Views