I must filter components by a special attribute that have been selected to be added to an assembly in the "add component" dialog. If the attribute is set, the user should get a warning message that she/he should not add this component (but she/he is allowed to do it anyway if she/he selects to continue).
How may I modify the "add component" dialog?
For Blockstyler dialogs there is a callback to filter selected elements, but for the OOTB "Add component" dialog I only know that there are pre and post actions. The first one is too early, the last one too late in the process.
How may I modify the "add component" dialog?
For Blockstyler dialogs there is a callback to filter selected elements, but for the OOTB "Add component" dialog I only know that there are pre and post actions. The first one is too early, the last one too late in the process.