How to script the filter component in the UI BUilder

Vadzim Surin1
Tera Expert

Hello everyone.
I'm asking your help how to script the 'Filter source' property in the filter component in the UI BUilder.
I created one state parameter with JSON type and tried to script the 'Filter source' property. Then I bound this state parameter to the 'Filter source' property of the filter component. But I didn't get desired result. Filter doesn't show result according to the encoded query.
2024-05-28_11h33_39.png2024-05-28_11h33_21.png

5 REPLIES 5

Fernando Diaz
Tera Contributor

Hi @Vadzim Surin1 did you managed to add a script to a filter? Thanks.