You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"style": {
"description": "The file extension to be used for style files.",
"type": "string",
"default": "css",
"enum": ["css", "scss", "sass", "less"],
"x-prompt": {
"message": "Which stylesheet format would you like to use?",
"type": "list",
"items": [
{
"value": "css",
"label": "CSS"
},
{
"value": "scss",
"label": "SASS(.scss) [ https://sass-lang.com ]"
},
{
"value": "sass",
"label": "SASS(.sass) [ https://sass-lang.com ]"
},
{
"value": "less",
"label": "LESS [ https://lesscss.org ]"
}
]
}
}
}
But instead of getting labels (uppercase in this case) I get values (lowercase values). Is this an expected behaviour? Because I couldn't find any issue about it. Then where are labels used? It seems an unexpected behaviour to me
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I took the following example from the Option for generators page:
But instead of getting labels (uppercase in this case) I get values (lowercase values). Is this an expected behaviour? Because I couldn't find any issue about it. Then where are labels used? It seems an unexpected behaviour to me
Beta Was this translation helpful? Give feedback.
All reactions