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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

how to render all component that inside each tabs in TabComponent at page loading?

Thread ID:

Created:

Updated:

Platform:

Replies:

147530 Sep 14,2019 11:28 AM UTC Sep 16,2019 12:32 PM UTC React - EJ 2 1
loading
Tags: Tab
mohsen
Asked On September 14, 2019 11:42 AM UTC

how to render Or Load All component that  inside  each  tabs  in TabComponent at first page Load 


i have a TabComponent inside a form that in each tab i use   required element such as TextBoxComponent when i want submit form i get error from  formvalidator :
×
TypeError: Cannot read property 'parentElement' of null
  746 | FormValidator.prototype.getErrorElement = function (name) {
> 747 | this.infoElement = select(this.errorElement + '.' + this.errorClass, this.inputElement.parentElement);
because require element that created in another tabs (not current active tab) not rendered i get this error 
if I load all tabs component in  first load  My problem is solved ???


Vinitha Devi Murugan [Syncfusion]
Replied On September 16, 2019 12:32 PM UTC

Hi mohsen, 
 
Syncfusion Greetings. 

We can render all component on initial load. kindly refer the below link.
 
  
 
Kindly check the above sample and if the issue persist still try to reproduce the issue in the above sample or else share your code snippet to proceed further.  
 
Regards, 
M.Vinitha devi 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon