Now I want to set a default value, so that users opening the Canvas for the first time would get a specific value selected. Is that possible?
I would like to combine this with the urlparam function so that I can link users to a specific stage, but still allow them to select a different one later on.
Good morning, Benny! Yeah, it doesn't look like the dropdownControl function allows for a default to be specified, at least at the moment.
I would recommend opening an enhancement request to add defaultValue as an arg to dropdownControl. That would get passed on to dropdown_filter as its value, (assuming it was was present in the collection.
Feel free to refer to this post in your enhancement request. Cheers!
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.