Oqtane controls updates

ActionDialog and ActionLink now allow other icon sets whilst still adhering to the legacy "oi oi-" icon set.
Pager added SearchBoxClass Class parameter to the Search div.
TabStrip added a TabContentClass Class parameter to the tab content div.
This commit is contained in:
Leigh Pointer
2024-06-04 12:21:59 +02:00
parent cf6b7544b0
commit 8048788042
4 changed files with 17 additions and 5 deletions

View File

@ -181,7 +181,10 @@ else
_openText = string.Empty;
}
if (!IconName.Contains(" "))
// Check if IconName starts with "oi oi-"
bool startsWithOiOi = IconName.StartsWith("oi oi-");
if (!startsWithOiOi && !IconName.Contains(" "))
{
IconName = "oi oi-" + IconName;
}