LearnNewsExamplesServices
Frontmatter
id3856
titleform.field.CheckBox: JS based icon classes
stateClosed
labels
enhancement
assigneestobiu
createdAtJan 14, 2023, 10:08 PM
updatedAtJan 14, 2023, 10:12 PM
githubUrlhttps://github.com/neomjs/neo/issues/3856
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 14, 2023, 10:12 PM

form.field.CheckBox: JS based icon classes

Closed v8.1.0 enhancement
tobiu
tobiu commented on Jan 14, 2023, 10:08 PM

sadly, it is not easily possible to use dynamic content in pseudo elements, like:

&::after {
    content: var(--neo-icon-checked)
}

since the browser does not acknowledge this to be a string and does not render the node at all.

so, we do need JS based configs instead.

tobiu added the enhancement label on Jan 14, 2023, 10:08 PM
tobiu assigned to @tobiu on Jan 14, 2023, 10:08 PM
tobiu referenced in commit b55242b - "form.field.CheckBox: JS based icon classes #3856" on Jan 14, 2023, 10:11 PM
tobiu closed this issue on Jan 14, 2023, 10:12 PM