Dynamic Forms - Fixing Oracle's Sample DynamicProductCategoryInput Widget

CX Version: 

Customer Portal's Dynamic Forms functionality is extremely useful, but the sample code provided by Oracle is broken right out-of-the-box due to a CP defect. The standard getValue() method called by the standard ProductCategoryInput widget doesn't return the correct value for product or category inputs, which makes the dynamic updates completely unresponsive when the value is changed.

This is easily remedied by updating the first line of the onChange() function in logic.js from:
var value = this.getValue()
to:
var value = this.tree.get('value')

Comments

This is very useful.

Thanks,
Geetha

Thanks for this valuable information.

Thanks for this information! It's so valuable.

Zircon - This is a contributing Drupal Theme
Design by WeebPal.