Summer Sale! All accounts are 50% off this week.

positonic's avatar

Accessing database data in kiosk settings

I have added a new page under kiosk settings under API keys. On my new panel I have a select box and I need to populate it with values from a database table.

I'm not sure how to best do this. There seems to be this Spark.state object where the user and team values are put, so if I guess this might be a place.

Or else I load it with Ajax???

This is so easy in normal Laravel I just pass the object from the controller to the view and build the box on the blade view.

Am I missing something? How would i best do this?

Thanks

0 likes
0 replies

Please or to participate in this conversation.