-
Notifications
You must be signed in to change notification settings - Fork 532
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
Select option another properties #186
Comments
It seem to be undocumented (sorry about that), bur you can add and option under {
type: "select",
label: "Salutation",
model: "salutation",
featured: false,
required: true,
values: function() {
return [
{ id: 1, name: "Mr." },
{ id: 2, name: "Lady" },
{ id: 3, name: "Waitress" },
{ id: 4, name: "Disable test" }
]
},
selectOptions: {
noneSelectedText: 'Please select'
}
} |
Damn this is useful.. Sad I didn't know about it |
I didn't knew about it either, I just checked the sources. I did a pull on the documentation, just waiting for @icebob to merge the changes |
I merged. Thanks @lionel-bijaoui ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I would like to set default value, but I can't change
Nothing selected
value. And ifid
equal to0
then the result is[object Object]
.The text was updated successfully, but these errors were encountered: