calebesantana
Datepicker enable range dates
I realized it's possible to create a datepicker with disabled dates, but it's possible to create a datepicker that has only specific dates available to select? Like if you have to select one of the available dates.
3 replies
Table builder with data from API rest
Hey!
I'm using the table builder in a custom livewire component to create a students table, and I'm querying the data from the models using the query builder notation, the student frequency data came from this same query, and its ok, but the grade information came from an external API call.
I was reading about this sushi package that fits perfectly for this kinda of occasion, but I've seen examples of the table being constructed over data that only came from the model that sushi it's applied, in my case, I'm getting the student data from a query and I should connect every student row to a grade that came from the API.
So I'm using a
->get()
in my ::query()
to foreach over all students returned from the query to fetch the grades, but I cannot construct the table after this approach, since I'm not returning an Builder Instance anymore...3 replies
Table from different database connection
I have this Livewire Component which implementing the
HasTable
, this component should render a table with data from a query that is mainly using this Model that uses protected $connection = 'other_database'
, this query has multiple joins with tables that are from the same 'other_database'...the thing is that my table its being rendered, it it's paginating and counting the total number of data etc...the only value that it's being showed it's the id_matricula value, all others are not.
The query:
12 replies