Karan Datwani

Results 54 comments of Karan Datwani

What I get after reading the conversations is, Info is already there but not in the highlights. @tabacitu do you feel to do something here? It feels like you as...

Hey @adriallongarriu Thanks for coming up with this cool little useful feature. I appreciate your effort & the idea. Hey @tabacitu @pxpm How do find the implementation?

Hey @adriallongarriu The problem was the format. I created ranges with the following format: ```php CRUD::field([ 'name' => 'start_date,end_date', 'label' => 'Event Date Range', 'type' => 'date_range', 'date_range_options' => [...

Hey @alien-rat I tried something similar on my CRUD, which worked: ``` CRUD::column([ 'label' => "locations", 'name' => 'locations', 'entity' => 'locations', 'attribute' => 'name', 'wrapper' => [ 'href' =>...

Hey @zachweix Your code works perfectly: ```javascript crud.field('features').subfield('quantity').onChange(function(field) { if (field.value == 0) { crud.field('features').subfield('value', field.rowNumber).hide(); } else { crud.field('features').subfield('value', field.rowNumber).show(); } }).change(); ``` ![chrome-capture-2024-2-28](https://github.com/Laravel-Backpack/CRUD/assets/8214221/54c9363a-13ae-436b-a5d3-3f8adac8ca4f) **BUT** after reordering, the row...

Hey @tabacitu @pxpm I have my opinion here. Why I chose: - sweetalert on error. - bubble notification on success. Imagine I'm the admin and want to send payment reminders...

Hey @miquelangeld `select2_json_from_api` is primarily designed for external APIs. Your API source looks internal, so I recommend you use [select2_from_ajax](https://backpackforlaravel.com/docs/6.x/crud-fields#select2_from_ajax-pro) with [Fetch Operation](https://backpackforlaravel.com/docs/6.x/crud-operation-fetch) for the desired value.

OK, I'm asking my colleague to guide here; he is the creator of this field. @promatik please help!

If Each user can be assigned to only one role. You should use the `belongsTo` relationship. To expect a Roles drop-down, you should use the `select (1-n relationship)` [field](https://backpackforlaravel.com/docs/6.x/crud-fields#select-1-n-relationship).

Hey @pxpm! This is the best solution as per my understanding. I tested in multiple ways, worked every way! You too have a check! 🤞