Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

warning - Tagify input element is already Tagified


I have below warnings on every pages.
Please advise what I need to check.

plugins.bundle.js:58060 Tagify: input element is already Tagified - Same instance is returned. <input class=​"form-control form-control-solid" value=​"Important, Urgent" name=​"tags" tabindex=​"-1">​
M @ plugins.bundle.js:58060
initForm @ VM71 new-target.js:15
init @ VM71 new-target.js:202
(anonymous) @ blazor.server.js:1
beginInvokeJSFromDotNet @ blazor.server.js:1
(anonymous) @ blazor.server.js:1
_invokeClientMethod @ blazor.server.js:1
_processIncomingData @ blazor.server.js:1
connection.onreceive @ blazor.server.js:1
o.onmessage @ blazor.server.js:1


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (5)


Hi Lauris,
Thanks for the quick response.
I've added/modified as you advised. however, there still same warnings.
Could you please see below if it's correct?


protected override void OnAfterRender(bool firstRender)
{
JS.InvokeVoidAsync("KTThemeMode.init");
JS.InvokeVoidAsync("emptyBody");
if (firstRender)
{
JS.InvokeVoidAsync("KTModalUpgradePlan.init");
JS.InvokeVoidAsync("KTCreateApp.init");
JS.InvokeVoidAsync("KTModalUserSearch.init");
JS.InvokeVoidAsync("KTModalNewTarget.init");
JS.InvokeVoidAsync("KTAppSidebar.init");

JS.InvokeVoidAsync("scrollTo", 0, 0);
JS.InvokeVoidAsync("KTComponents.init");
JS.InvokeVoidAsync("KTMenu.updateByLinkAttribute", $"/{NavigationManager.ToBaseRelativePath(NavigationManager.Uri)}");
}
JS.InvokeVoidAsync("KTLayoutSearch.init");
}



Hi Bryan Cho,

Please make sure that you have update right files.

In folder Starterkit/Shared/Layout we have few layouts options, you should update this code in layout files used in Starterkit/App.razor.

Regards,
Lauris Stepanovs,
Keenthemes Support Team



Hi Lauris,
Thank you for quick response.
It's the Metronic theme v8.1.5



Hi,

Thank for specifying this.

Warning is related to KTModalNewTarget.init function multiple call and this should already be fixed in the latest version.

Inside your layout component you need to wrap the following initialization functions to execute those functions only on first render.


if(firstRender){
JS.InvokeVoidAsync("KTModalUpgradePlan.init");
JS.InvokeVoidAsync("KTCreateApp.init");
JS.InvokeVoidAsync("KTModalUserSearch.init");
JS.InvokeVoidAsync("KTModalNewTarget.init");
JS.InvokeVoidAsync("KTAppSidebar.init");
}


Regards,
Lauris Stepanovs,
Keenthemes Support Team



Hi,

Thank you for reaching out to us.

Could you please specify which Metronic version are you using?

Regards,
Lauris Stepanovs,
Keenthemes Support Team


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(