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

Улучшение для связанных списков #31

Closed
stepancher opened this issue Sep 7, 2015 · 3 comments
Closed

Улучшение для связанных списков #31

stepancher opened this issue Sep 7, 2015 · 3 comments

Comments

@stepancher
Copy link

Хотелось бы иметь возможность задавать что-то вроде

options=>[
    'items'=>function($data){
         return Object::myStaticFunctionGetItems($data->field);
    }
]

То есть иметь возможность задавать массив items через анонимную функцию как и value.
Очень облегчит жизнь при создании связанных списков.

@unclead
Copy link
Owner

unclead commented Sep 7, 2015

А хочешь сделать пулл-реквест? 😄
идея годная

@stepancher
Copy link
Author

Завтра попробую что-нибудь сделать;)

@unclead
Copy link
Owner

unclead commented Sep 8, 2015

Реализовал. Подробности в коммите 634c580

@unclead unclead closed this as completed Sep 8, 2015
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