I am experiencing a couple of issues with the Simple Modal custom component.
I cannot add a CSS class to the modal, when doing so I receive the following console error and it breaks the function.
DOMException: Failed to execute ‘add’ on ‘DOMTokenList’: The token provided (‘bl-customComponent-simple-modal deleteDealer–modal’) contains HTML space characters, which are not valid in tokens.
When the modal works fine on the test URLs, on the live app it does not. I receive the following error on the page where the modal component is used.
GET …/components/custom/c_278d12d91f761073b9dba5375df9e648/component.json 400 error
In the simple modal, there are two buttons (submit & close). We can style these buttons OK… but we would like to style one button different from the other. Is there any work-around way to do this? Perhaps using Codeless blocks in in the button logic (which we have access to)? If not, any chance you could add some extra options to the component so we can target the style for each button independently? Thnx