UI select should support value/label option
angelozerr opened this issue · comments
Angelo commented
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)