Notifications
Clear all
Topic starter
Suppose you are working on the product edit page of the backend. Whenever admin-user clicks on the save button, you need to check that the product name should contain SKU as well in it.
For this how would you get the product input field element in a variable using uiRegistry?
- A . In extended js file add code:
var registry = require(‘uiRegistry’); //get the registry instance
var fieldName = registry.get(‘inputName = product[name]’);
B. In extended js file add code:
var registry = require(‘uiRegistry’); //get the registry instance
var fieldName = registry.find(‘inputName = product[name]’);
C. In extended js file add code:
var registry = require(‘uiRegistry’); //get the registry instance
var fieldName = registry(‘product[name]’);
D. In extended js file add code:
var registry = require(‘uiRegistry’); //get the registry instance
var fieldName = registry.get(‘product[name]’);
Suggested Answer: A
Posted : 30/10/2022 6:33 am