AbleCommerce Forums
»
AbleCommerce
»
General Questions
»
9.0.3 label tooltips not working in custom view
Rank: Advanced Member
Groups: HelpDesk, Developers Joined: 11/9/2018(UTC) Posts: 564
Thanks: 122 times Was thanked: 26 time(s) in 25 post(s)
|
I must be missing something simple. I've created a custom partial view and I'm using the same 'form-group' div tag design used throughout the admin. For the labels, I do this: Code:<label class="tooltip-label" data-content="Specify the usual lead time for this jacket type.">Lead Time:</label>
But tooltips do not render if I hover the label. Am I missing a reference somewhere else on the page? sidenote: placeholders only work on textarea controls too. They don't render on @Html.EditorFor() controls. Possibly the same reason?
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
You need to confirm that this file is loaded on page load. tooltip-config.jsWe are using this file from the admin area bundle config file. If you are not working or using the admin area master layout then you need to load this js file on page load. Quote:sidenote: placeholders only work on textarea controls too. They don't render on @Html.EditorFor() controls. Possibly the same reason? This example may help you. This is from \Website\Areas\Admin\Views\Website\AddWebpage.cshtml Code:@Html.EditorFor(model => model.Webpage.CatalogUrl, new { htmlAttributes = new { placeholder = "/MyPage", @class = "form-control" } })
|
|
|
|
Rank: Advanced Member
Groups: HelpDesk, Developers Joined: 11/9/2018(UTC) Posts: 564
Thanks: 122 times Was thanked: 26 time(s) in 25 post(s)
|
ok perfect thank you.
I haven't removed that reference in the admin bundle. And tool tips work fine everywhere else in admin. So I think I'm dealing with a different issue. I'm using the Telerik UI MVC library for admin customizations. Their implementation of custom popup editor templates may be blocking the tooltip-config plugin from behaving properly.
I'll figure it out with Telerik, pretty sure this has nothing to do with Able code or implementation.
|
|
|
|
AbleCommerce Forums
»
AbleCommerce
»
General Questions
»
9.0.3 label tooltips not working in custom view
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close