Edit in GitHubLog an issue

:enabled

Since: UXP 3, PS 22.0.0

Matches when the selected element is enabled.

See: https://developer.mozilla.org/en-US/docs/Web/CSS/:enabled

Example:

Copied to your clipboard
1input:enabled {
2 border: 1px solid blue;
3}

Quirks and Exceptions#

  • Only works for <input>s. Does not work for Spectrum UXP components.
Copyright © 2021 Adobe. All rights reserved.