Set default value to a select, listening the change from another input
I am trying to assign a default value to the select, which would be true when having a data and false when not having it, but it does not detect the change of the input date
3 Replies
Use
afterStateUpdated()
on the Date picker field, then use $set(‘extinguisher_status’, whatever_here)
instead.
Like this:
Let me know if that works for you.It works, thank you very much for the information
Your welcome