We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
public function ngRestAttributeTypes() { return [ 'title' => 'text', 'parent_id' => [ 'selectModel', 'modelClass' => self::className(), 'valueField' => 'id', 'labelField' => 'title', ], ]; }
error 500
Adding if (isset($this-> data)) to luya\admin\ngrest\plugins\Select onAfterListFind($event) solves the problem
if (isset($this-> data))
luya\admin\ngrest\plugins\Select
onAfterListFind($event)
The text was updated successfully, but these errors were encountered:
Thanks for reporting, we will look into your issue as soon as possible.
Sorry, something went wrong.
27b4bd0
@dven84 I have fixed this problem when using the same model as target class, there was also another problem with this kind of use case! thank you
nadar
No branches or pull requests
What steps will reproduce the problem?
What do you get?
error 500

Adding
if (isset($this-> data))
toluya\admin\ngrest\plugins\Select
onAfterListFind($event)
solves the problemAdditional infos
The text was updated successfully, but these errors were encountered: