Closed miladhashemi closed 4 years ago
So, you want to be able to define the default value in the dropdown based on that option from your widget ?
Exactly
If you update your @osjs/dialogs
(version 3.0.20) you should now have a value: something
option for the dialog to override the default value.
Hi, Continued widget development(https://github.com/os-js/osjs-widgets/issues/9), i faced new problem. I kept a paramter as widget custom options.
measurment: 'netdata.apps.cpu.X'
Due to changing this custom option value I used choice dialog, but I don't know how should I use my parameter value as choice dialog default value.