vscode-inputbox type="date" => format for date (how to change) #656
-
How can I add a format pattern to the I wished the date in format dd.mm.yyyy now it is 07/31/2023 I did not find any documentation about how to change this pattern. is there an attribute? The only thing is to switch to the native and add a date picker but then how do I get the vscode theme color changes? <input type="text" class="datep" id="${this.name}" placeholder="${this.label}" value="${this.value}" Would be great if anyone has experience or an idea. thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Please share your extension exact code so we understand what you are actually trying to do. |
Beta Was this translation helpful? Give feedback.
-
Hi, if the https://github.com/microsoft/vscode-webview-ui-toolkit/ components are not flexible enough, you can extract their CSS from the Webview Developer Tools or from their source code, or fork the repository. Their CSS all leads back to CSS variables described here- https://code.visualstudio.com/api/extension-guides/webview#theming-webview-content |
Beta Was this translation helpful? Give feedback.
Hi, if the https://github.com/microsoft/vscode-webview-ui-toolkit/ components are not flexible enough, you can extract their CSS from the Webview Developer Tools or from their source code, or fork the repository. Their CSS all leads back to CSS variables described here- https://code.visualstudio.com/api/extension-guides/webview#theming-webview-content