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

select form for edit elements. #2575

Closed
demiantriebl opened this issue Jan 1, 2016 · 1 comment
Closed

select form for edit elements. #2575

demiantriebl opened this issue Jan 1, 2016 · 1 comment
Labels

Comments

@demiantriebl
Copy link

how can use multi select to edit a existin element, i can't fill the select with a database

@Tim-arts
Copy link
Contributor

Tim-arts commented Jan 2, 2016

You have to put the options inside your select from your database. Add selected for those which have to be selected and run the init code :

$(function () {
$('select').material_select();
});

But the options you will select and deslect won't match to the real select value because there is an issue. There is a PR to fix that.

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

No branches or pull requests

3 participants