Can we add widget to a form inside schema?
Hi, i was working on building a form where the user can be displayed a total Amount in inventory intems getting added (Sum total of money, etc) ... We can add in a widget out there as there is no practically use of fields out there!!
7 Replies
Sorry, what?
Hi @krekas - well.. i am building an application which accepts a Purchase Order form - this form is going to have all sort of items in the same - The purpose being - need to sho the user as how much is the total invoice amount and the difference remaining after all the items user have added in the repeater !!
as user starts adding - i need to update those portion
This need not be a field - this can be simple HTML element that i was planning to update
So use $set to set other fields
Or $get to get the updated values ant calculate
well instead of field - cant it be simple widget where i could update the same?
Yes. But then you need to use events.
For example similar approach https://laraveldaily.com/post/filament-one-filter-for-multiple-widgets-livewire-events
cool - thank you - will surely checkout the same
Wow - the same is a premium service 😦 ... thank you for the help .. will workout on the same