how to add Select Field data using reactive() in the Text fields just like Dependent fields

i have a customer drop down and i want to add the data on selection of customer in the remaining fields only if customer exist.
8 Replies
toeknee
toeknee15mo ago
Ali Abbas
Ali Abbas15mo ago
@toeknee_iom i want this in create form ? @toeknee_iom in my case there is no relationship between fields i want just like dependent fields ?
Unknown User
Unknown User15mo ago
Message Not Public
Sign In & Join Server To View
Dan Harrin
Dan Harrin15mo ago
->visible(fn ($get) => filled($get('customer_id'))) will hide a section if a field is not filled
Ali Abbas
Ali Abbas15mo ago
@danharrin i have manage by using afterStateUpdated()
Ali Abbas
Ali Abbas15mo ago
Dan Harrin
Dan Harrin15mo ago
half of those lines can be removed you dont need the variables
Ali Abbas
Ali Abbas15mo ago
@danharrin yes will remove these extra variables thanks