-
Notifications
You must be signed in to change notification settings - Fork 108
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
DropDown and Lookup in connection with hasOne is not working in CRUD anymore #1462
Comments
@karakal - Can you share code on how you defined your model? All seems to be working fine. I think the demo is fine too because hasOne only returns one parent only. @DarkSide666 - can you confirm about file demo data? |
@ibelar This works out as correctly displayed in the overview: and it will display correctly the selected entry: But it displays "No result found": although there should be a selection of them: And I don't think the demo is right, because there should be a selection of a lot of root folders... |
Hi @karakal I had similar strange effects with dropdowns not working - just because the installed PHP version was too old. Upgrade to 7.3 or 7.4 and some mysterious effects might be gone immediately. |
There surely is some issue (or issues) here with hasOne and dropdowns. Will work more on that tomorrow #1477 |
I think it's fixed now. |
Okay... It is working in the latest development-Branch from Github :-( |
@karakal Can you try installing 2.3 like this and tell us if it works then ?
|
closing as resolved |
Hi, |
please submit a failing test case as PR |
@mvorisek thank you for your quick answer. I have forked and branched develop, time to brew coffee and I will give it a try. |
I added a segment in demo |
In the newest code in develop (which I need to use...) DropDown and Lookup in a model will not be filled anymore.
I have multiple models with hasOne and in the table everything is fine, but when I try to edit an element, the dropdown or lookup will always return "No results found".
This error is even in the demo visible at https://ui.agiletoolkit.org/demos/collection/actions.php when you try to edit an element, that has a parent-folder set:

When you set the model explicit to the dropdown everything is working fine.
The text was updated successfully, but these errors were encountered: