You can now use TextArea and UserPicker components in macro configuration.
See Switch to the new macro configuration to learn how to switch an existing macro with configuration to use the new macro configuration.
You can now use TextArea and UserPicker components in macro configuration.
See Switch to the new macro configuration to learn how to switch an existing macro with configuration to use the new macro configuration.
Hi,
Ive been trying to create a way to search filters in this widget. Ive tried using a combination of the TextField and Select widgets but have had no luck. It appears you can only use useState in UI components so there is no way for me to update the filters I show in the select widget based on the TextField.
All you documentation on the macro config shows static content or custom made pickers like User. Is there a way I could build something like UserPicker but for filters?
Hey @Stoff81,
Your use case is very valid, but unfortunately we don’t have a way to do that in Forge macro configuration currently. I’ll pass on this feature request to the team.
In the meantime, some workarounds could be to build in a configuration screen into the macro itself (although it won’t be editable in edit mode for now, only in read mode)
Thanks for confirming what I believed to be true. You will see a similar feature request on the forge backlog from me already.
I did start to explore the option to do config in the main view but didn’t pursue to hard so. Will check that out when I get some time
@iceman Can you please tell me when monospaces Textare will be supported? This would be very important to me to use:
<MacroConfig>
<TextArea name="foo" label="code" isMonospaced="true" />
to have the input monospaced. Would be awesome
Update 2023-12: Atlassian Support opened a Feature request => https://jira.atlassian.com/browse/CONFCLOUD-77203