Guys don't forget to add a message to the requiredMessage in line 8 at 16:05. if you don't define a string to it, the flow will skip the error message and you'll die pulling your hairs.
Great job ! You saved my day ! I have a question: Is there a way we can listen to on-change events for the input variables from the flow to the LWC component? So as soon as the value of the variable changes in the flow, it must trigger an event, and that gets captured in the lwc component where we can read the new values of those variables?
Please let me know how we can pass data from flow to lwc component and expose lwc component in the org. My requirement is simple : I have lwc component which take input value and the flow that process the input value and returns accounts related to that. Now the return account list i have to pass that to lwc component again.
I wish to prevent next step if at least one row is not selected in a datatable. I am using a custom component with the datatable, and the progress indicator. When I click the next button with no options selected, nothing happens, and if i then select options and click next nothing happens. If i re-run the debug and first select a row and click next, it proceeds to the next step. What am i doing incorrectly?
In the next click you can put some logic statement which will check if the row is not selected display error in an screen and if selected then display other screen. So you need to make some adjustments to the code
@@mansiparashar4050 Yes you can do that, use add similar for each and every input you want in LWC, and don't forget to add variables in JS file with @api annotation.
Thank you, This was very helpful!
nice explanation Bro
Great Job bro . its really very helpful
thank you sooo much it help a lot
you're an amazing teacher
Glad it helped!
Thanks so much for sharing.
Thank you for sharing this. Is it possible to control the styling of the validation message thrown
Hi, great video. What should be the event to call that event on load of our elder blessing component? TIA😊
Guys don't forget to add a message to the requiredMessage in line 8 at 16:05. if you don't define a string to it, the flow will skip the error message and you'll die pulling your hairs.
Great job ! You saved my day !
I have a question:
Is there a way we can listen to on-change events for the input variables from the flow to the LWC component? So as soon as the value of the variable changes in the flow, it must trigger an event, and that gets captured in the lwc component where we can read the new values of those variables?
I think yes there are events. Let me check from my side and I will share how to
Please let me know how we can pass data from flow to lwc component and expose lwc component in the org. My requirement is simple : I have lwc component which take input value and the flow that process the input value and returns accounts related to that. Now the return account list i have to pass that to lwc component again.
What is the extension name for intellisense (auto complete) code for LWC ?
Is it possible to make required input as checkbox?
You want to make a checkbox as required?
What's the point of the checkbook field then if you always want that value to be selected
Hi , will the value be retained if I go to next screen and come back to the same screen ??
If you assign the value to a variable in flow then yes.
I wish to prevent next step if at least one row is not selected in a datatable. I am using a custom component with the datatable, and the progress indicator. When I click the next button with no options selected, nothing happens, and if i then select options and click next nothing happens. If i re-run the debug and first select a row and click next, it proceeds to the next step. What am i doing incorrectly?
In the next click you can put some logic statement which will check if the row is not selected display error in an screen and if selected then display other screen.
So you need to make some adjustments to the code
How can we do it for multiple fields
What do you mean by multiple fields? Can you explain
In LWC if I create multiple input fields in that case
@@mansiparashar4050 Yes you can do that, use add similar for each and every input you want in LWC, and don't forget to add variables in JS file with @api annotation.
Hi, Could add the link to get the code
I think its LWC Builder
It's GitHub copilot