Controls
KV Select
KV Select Control
from mirmod.controls import KVSelect
KVSelect(source="", placeholder="")
source
should be a URL to any JSON resource that contains a list of objects with value
and key
properties. placeholder
is the text to display when no value is selected, and can be used to tell the user what the default value the node will assume if no value is selected. If a user has typed anything into the search box, a ?search
query parameter will be appended to the source
URL with the value of the search box. This can be used to filter the results on the server side.