redhat-developer / vscode-wizard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UI select should support value/label option

angelozerr opened this issue · comments

Today UI select support array of string, it should be nice to support an array of option (value / label). In vscode-kafka, we have this use case:

["plain", "SASL/PLAIN"],
["scram-sha-256","SASL/SCRAM-256"],
["scram-sha-512","SASL/SCRAM-512"]

The select UI should display label (ex : "SASL/PLAIN") and should return the value (ex : plain)