File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -318,6 +318,11 @@ const CustomTemplate = (props: FieldTemplateProps) => {
318318 { schema . description && needsDescription && (
319319 < div className = "jp-FormGroup-description" > { schema . description } </ div >
320320 ) }
321+ { isModified && schema . default !== undefined && (
322+ < div className = "jp-FormGroup-default" >
323+ Default: { schema . default ?. toLocaleString ( ) }
324+ </ div >
325+ ) }
321326 < div className = "validationErrors" > { errors } </ div >
322327 </ div >
323328 </ div >
Original file line number Diff line number Diff line change @@ -305,6 +305,11 @@ ul.jp-PluginList li.jp-mod-selected span.jp-PluginList-icon.jp-FileIcon {
305305 padding : 4px 7px ;
306306}
307307
308+ .jp-SettingsPanel .jp-FormGroup-default {
309+ flex-basis : 100% ;
310+ padding : 4px 7px ;
311+ }
312+
308313.jp-SettingsPanel # root__description {
309314 display : none;
310315}
You can’t perform that action at this time.
0 commit comments