Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 5421 - Tickets: Optional clear button #5436

Open
wants to merge 6 commits into
base: staging
Choose a base branch
from

Conversation

Amantini1997
Copy link
Contributor

This fixes #5421

Description

The "clear button" should only be available for non-required, editable values.
Note that, as part of the issue, the assignees value is no longer editable from the tickets list.

In order to render the clear value button in oneOf/manyOf at the end of the input, I had to fix an existing problem in the theme where the select input was getting the same style (border and box-shadow) twice. This impacted also v4 components, hence the refactoring.

Test cases

Try and clear the value for oneOf/manyOf properties across a ticket. If the field is editable and not required, that should be possible.
Try and edit/clear the value of assignees from the ticket preview item. That should not be possible
Try and edit/clear the value of assignees from the expanded ticket. That should be possible

Test v4 dropwdowns components. The functionality and the outlook should not be different

@Amantini1997
Copy link
Contributor Author

/azp run

Copy link

Azure Pipelines successfully started running 2 pipeline(s).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've lost the capitalisation of the values in issues/safetibase (the v4 card)
This PR:
image
Staging:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants