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

default not working #26

Open
rambai opened this issue May 26, 2020 · 0 comments
Open

default not working #26

rambai opened this issue May 26, 2020 · 0 comments

Comments

@rambai
Copy link

rambai commented May 26, 2020

Hello,

My output JSON is like this:
{
"options" : [ {
"key" : "1.0",
"value" : "1.0",
"enabled" : true
}, {
"key" : "1.0.0",
"value" : "1.0.0",
"enabled" : true
}, {
"key" : "1.0.1-SNAPSHOT",
"value" : "1.0.1-SNAPSHOT",
"enabled" : true
}, {
"key" : "1.0.2-SNAPSHOT",
"value" : "1.0.2-SNAPSHOT",
"enabled" : true
}, {
"key" : "1.0.3-SNAPSHOT",
"value" : "1.0.3-SNAPSHOT",
"enabled" : true
}, {
"key" : "1.1.0",
"value" : "1.1.0",
"enabled" : true
}, {
"key" : "1.1.1-SNAPSHOT",
"value" : "1.1.1-SNAPSHOT",
"enabled" : true
}, {
"key" : "kong",
"value" : "kong",
"default" : true,
"enabled" : true
} ]
}
but I see 1.0 as default first option:
image

What I'm doing wrong?

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

1 participant