LaravelDaily/FilaStart

Parent dropdown is not populated

Closed this issue ยท 5 comments

Hi and thank you for this great tool!

While playing around last night I noticed that the Parent dropdown is never populated in the /cruds/create and /cruds/{id}/edit forms.
Is there a trick to it, or is it just my setup?

My localhost is on Win 10 with PHP 8.3.3 + SQLite.
During install I run the "composer install" command with "--ignore-platform-reqs" to get around the pcntl requirement.

Everything else seems to be working fine.

Hi, it might be that you need to enter text to search for a CRUD - it depends how many you have!

But I will take a look at this later ;)

Hi Modestas, thanks for the quick response!

I'm not seeing anywhere to enter a search term when opening the dropdown, and the console is not showing any error messages except a bunch of "A form field element should have an id or name attribute".

cruds
edit-crud

Ohh, it makes sense now!

You need to create a CRUD with the type parent in order to populate it. This is not a nested resource thing, just a navigation group

Oh dear silly me, please close this whole topic.

I just noticed that cruds can be of type "Parent" ๐Ÿ˜….

It works as expected now.

Happens to all of us!