Live search for SELECT parameter

rikro
Level 3
Live search for SELECT parameter

Hi, 

is it possible to define a "live-search" SELECT parameter when defining the parameters via the JSON file?

I know it is possible when using fully custom forms (cf https://doc.dataiku.com/dss/latest/plugins/reference/other.html#fetching-data-for-custom-forms)

<select dku-bs-select="{liveSearch:true}" ng-model="config.filterValue" ng-options="v for v in choices" />

Is this somehow possible when using a "normal" parameter like

        {
            "name": "timezone",
            "label": "Timezone",
            "type": "SELECT",
            "getChoicesFromPython": true
        }

Thanks and best regards,

Richard

3 Replies
duphan
Dataiker

Hi, 

From DSS 6.0.2 it is now possible to do that, more details here: https://doc.dataiku.com/dss/latest/plugins/reference/params.html#dynamic-select-using-python

Cheers

duphan
Dataiker

Hello again, 

I read your question too fast, so basically from DSS 6.0.2 you can have a dynamically populated dropdown list, but the ability of doing live search is not supported. We will add your feature request. 

Cheers, 

rikro
Level 3
Author

Hi,

thanks for adding that to the backlog! If you plan on changing something there, would it also be possible to fill multiple parameters via Python?

Currently I have only been able to fill all with the same data.

Thanks and best regards,

Richard