Hello,
I am building a modal dialog in Client Script. I am using the following code to add a filed to the dialog but I cannot set its default value.
{
label: __('Input Wire Size'),
fieldname: 'wire_size',
fieldtype: 'Float',
precision: 2,
reqd: 1,
default: wire_size_is
},
When the dialog opens the field comes up blank, that is with 0.0
.
TIA
Yogi Yang