leoPascal
Please Help! Is it possible to show the images based on the selected option in create form?
Thank you for your reply, @Alex Six . I'm trying to do like this
the blade view like this
here all the item_images are getting displayed. the functionality what I need is like I want to display the item_quantity, item_cost & item_total when the item_quantity got updated I want the item_total to be updated automatically for each item. PLEASE HELP ME ACHIEVE THIS!
8 replies
Please Help! Is it possible to show the images based on the selected option in create form?
Thank you @Alex Six for your prompt response.
It seems like the suggested solution will work, except for one crucial aspect – handling images. I specifically need to display images within the form.
Allow me a moment to elaborate on my requirements.
I have approximately 1000 item images associated with around 5 customers, each with different prices based on the customer. For instance:
item-1 = $1 for Customer-A
item-2 = $2 for Customer-A
item-1 = $1.5 for Customer-B
item-2 = $1.75 for Customer-B
item-1 = $1.8 for Customer-C
item-2 = $2.25 for Customer-C
... and so forth
On the orders page, I aim to initially load a select field with all customers. Upon selecting an option, I want the corresponding item images to be displayed in a separate card for each item with 3 placeholders for supplier_barcode, item_cost, item_total (item_cost * item_quantity) and an input field for item_quantity. Finally, at the bottom of the page, I need to display the total amount, similar to a cart.
I appreciate your assistance.
8 replies
Empty Image
the 'APP_URL' in the project .env file must be same as the actaul url, for example if the url in the browser is
"http://127.0.0.1.." then .env must have the same as 'APP_URL'.
50 replies
I want to hide 2 widgets out of 4 from my resource page on dashboard, is it possible to do that?
thanks for your reply @Leandro Ferreira
I tried like this because ->isAdmin gives me error. But this canView() hide all 4 widgets from the dashboard & resource page aswell.
I actually want to show all 4 widgets on my resource page and show only 2 on dashboard.
7 replies
is it possible to have ToggleColumn with text in filament v2?
hey VP do you have any idea why I'm getting this error while tyring to use Dennis Excel Pluging
composer require pxlrbt/filament-excel
Error
Installation failed, reverting ./composer.json and ./composer.lock to their original content.10 replies
how can I hide a form field which is $fillable in the model.
If you guys have a moment, could you please take a look at another question I posted last week https://discord.com/channels/883083792112300104/1150702532457414656 ? It hasn't received a response yet, and I would really appreciate your help with it."
61 replies