Skip to content

[5.x]: Close icon is appearing by default even for empty time fields #16804

@JayBox325

Description

@JayBox325

What happened?

Description

The close "X" icon is displaying by default for all time fields even if there's not been anything added. The user can clear them:

Image

Notice I have cleared the X on the top 3 fields.

I'd suggest this would be presented much nicer if the clear icon only appeared when the field has a value, but I also feel the icon is too big and takes too much attention, it should be secondary, I suggest a restyle to look something like this:

Image

Especially as there could be lots of them side-by-side, knocking them back and making them clearer on focus/hover would improve this.

Craft CMS version

5.6.10.2

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions