Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set default value for moduleconfig value #66

Open
cudeso opened this issue Nov 12, 2016 · 1 comment
Open

Set default value for moduleconfig value #66

cudeso opened this issue Nov 12, 2016 · 1 comment

Comments

@cudeso
Copy link
Contributor

cudeso commented Nov 12, 2016

Hi,

What is the best way to set a default value for a module config parameter?
You can list the parameters to be displayed in the "plugin settings" via moduleconfig. I'd like them to be filled with preset values (f.e. value1 = True, value2 = False, value3=123).
You can set the value in code but for user-friendlyness having it displayed immediately in the interface would be nice.

Currently only needed for 'expansion' but might be useful for import/export also.

kr,

koen

@iglocska
Copy link
Member

Indeed, we don't have a way to do that currently. Makes sense.

On Sat, Nov 12, 2016 at 3:09 PM, Koen Van Impe notifications@github.com
wrote:

Hi,

What is the best way to set a default value for a module config parameter?
You can list the parameters to be displayed in the "plugin settings" via
moduleconfig. I'd like them to be filled with preset values (f.e. value1 =
True, value2 = False, value3=123).
You can set the value in code but for user-friendlyness having it
displayed immediately in the interface would be nice.

Currently only needed for 'expansion' but might be useful for
import/export also.

kr,

koen


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#66, or mute the thread
https://github.com/notifications/unsubscribe-auth/ADf6wHtdWzl9pm-FEIaX5j1TGFIGrtp-ks5q9h0HgaJpZM4Kwg6m
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants