UI builder - add event on field change
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2022 07:21 PM
Hi,
Are there any events that cover a specific field changing? much like onChange? This is for the Record Tabs component.
I had a look around but couldn't see how it could be done.
Cheers
Ben
- Labels:
-
Now Experience UI Framework

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2022 07:31 AM
Looking at that component's documentation it doesn't appear that any events are fired for fields changing. I think if you have a form in one of the tabs it's actually calling another component so you might check to see if that component is firing any events. Disclaimer, I haven't messed with the record tabs component much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2022 03:14 PM
Thanks
Let me see if I have this right. Components can be made up of other components, I'll call them subcomponents. For example, the Form component is made up of subcomponents, one of which would be the Select component?
On a Form component, you get the caller (open_for) field. It's a Select component and has an event NOW_SELECT#SELECTED_ITEM_SET. If I'm testing the Select component individually, I can create a simple script to console.log(event) the info to the browser console and add that as an event handler. When the caller changes, the event info is logged to the console.
If there is a change to the caller on the Form component, there is no Form event that can detect this. As you mentioned above.
Is there a way to get to the events of subcomponents from components? From the Form component, I want to be able to use the Select components NOW_SELECT#SELECTED_ITEM_SET event on a particular field?