* Remove unusable method
* Fixes#10746 by removing the recursive call ending in an infinite loop
Also: the culture is already known, don't take the `CurrentUICulture`
Fixes#10708 by removing the `inert` attribute on `#mainWrapper` when `editorService.closeAll()` is called.
This code is necessary because when close all is called, there is no editor passed, and so `removeEditor` is never called, and so the `focusLockService.removeInertAttribute();` method isn't called. I add to the if block that handles the close all code instead.
(cherry picked from commit 1f4cc81af8)
Fixes#10708 by removing the `inert` attribute on `#mainWrapper` when `editorService.closeAll()` is called.
This code is necessary because when close all is called, there is no editor passed, and so `removeEditor` is never called, and so the `focusLockService.removeInertAttribute();` method isn't called. I add to the if block that handles the close all code instead.
* Add missing focus styling
* Fix issue where validation message does not disappear when all chars are removed
Co-authored-by: BatJan <jaskov@gmail.com>
Co-authored-by: Jan Skovgaard Olsen <jso@co3.dk>
We added an overload that would conflict for people with existing templates, that was a bit too premature. Disabled for now with a note to look into it for v9 again.
* Support for language of parts
* Changed casing of "FallBack" to "Fallback" to be consistent with the existing code.
* Now tests the type to determine if span should be added.
* Remove magic strings and return <div> for IHtmlString values
This fixes the "string" vs "String" issue in the previous commit and prevents the function returning invalid markup
* Fix for test providing string as "object"
Co-authored-by: Joe Glombek <joe@rockdove.uk>
* Add missing focus styling
* Change width to ensure label does not get too wide
Co-authored-by: BatJan <jaskov@gmail.com>
Co-authored-by: Jan Skovgaard Olsen <jso@co3.dk>
The logic in the markup was previously incorrect.
I changed the check from `tab.length` to `dashboard.length`.
The custom dashboard's label isn't `.caption` and it's per dashboard,
not per "property".
Lastly, `.path` should be `.view`.
Resolves#6417