We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

[Schedule] Custom editor modal buttons not working

The default buttons (delete, save, cancel and the close icon), return the following message in the browser console:

SyntaxError: '.' is not a valid selector

And nothing but a page reload closes the editor window.
Could you guys check this out?

Thanks in advance from Brazil

Attachment: syncfusion_code_b08f7e64.zip

3 Replies

VD Vinitha Devi Murugan Syncfusion Team October 16, 2019 10:07 AM UTC

Hi Rodrigo, 
 
Syncfusion Greetings. 
 
We have checked your shared code in which you wrongly created the combo box in popupOpen event. We have prepared the below sample with combo box using editor template option for your reference. 


  if (!statusElement.classList.contains('e-dropdownlist')) { 
                    var comboBoxObject = new ej.dropdowns.ComboBox({ 
                        placeholder: 'Select a status', 
                        value: statusElement.value, 
                        fields: { text: 'text', value: 'text' }, 
                        dataSource: dataList 
                    }); 
                    comboBoxObject.appendTo(statusElement); 
                    statusElement.setAttribute('name', 'EventType'); 
                } 
 
Kindly try the above sample, if you have any concerns please revert us back for further assistance. 
 
Regards, 
M.Vinitha devi 
 



RO Rodrigo October 16, 2019 01:44 PM UTC

It worked. Thank you.
But is a strange behavior nevertheless.
Why other components work in some way and this doesn't?
Also I recommend you guys to check out the demo and documentation.
Pivot for example is quite slow in some of when filtering.
And it´s quite hard to learn how to do a lot of stuff without examples for all the methods.
I'm the front-end in charge of testing this in the company I'm working on,
but the idea is to buy the full version soon and most of my back end colleagues will have problems.
Devexpress, which was used here, has a far better documentation, even tho you guys have the best product.

Thanks again, and great work.


VD Vinitha Devi Murugan Syncfusion Team October 17, 2019 01:44 PM UTC

Hi Rodrigo, 
 
Thanks for your update. 
 
We are pleased that your problem has been resolved.  
 
UG enhancement is currently ongoing and will be updated every Friday online. 
 
Regards, 
M.Vinitha devi 


Loader.
Live Chat Icon For mobile
Up arrow icon