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

Eeditable with model many_many #8

Open
vvillar21 opened this issue Sep 3, 2015 · 0 comments
Open

Eeditable with model many_many #8

vvillar21 opened this issue Sep 3, 2015 · 0 comments

Comments

@vvillar21
Copy link

Hi, sorry for my english, wanted to give you a few lines of code to the extent contemplated a model of many to many , modify the EEditableColumn.php from line 48 when you give value to editable_id :

        if (is_array($keyValue)){
            $idEditable = "";
            foreach ($keyValue as $element) {   

                if ($element === end($keyValue))
                    $idEditable .= $element;
                else
                    $idEditable .= $element."_";

            }           
            $options['editable_id'] = $idEditable;
        }else{
            $options['editable_id'] = $keyValue;
        }

I hope you work for someone else , Greetings

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