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

[ACS-4749] add button is enabled for comment contains only spaces #10577

Conversation

AleksanderSklorz
Copy link
Contributor

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (check one with "x")

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation
  • Other... Please describe:

What is the current behaviour? (You can also link to an open issue here)
https://hyland.atlassian.net/browse/ACS-4749

What is the new behaviour?
Add button for comment is disabled when comment contains only spaces.

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...

Other information:

display: none;
&#{$mat-form-field-invalid} {
#{$mat-input-element} {
&::placeholder {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you don't have to repeat this line to set the color if you use this selector:

Suggested change
&::placeholder {
&::placeholder,
&:focus::placeholder {

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@AleksanderSklorz AleksanderSklorz force-pushed the ACS-4749-Add-button-is-enabled-for-comment-contains-only-spaces branch from cdcc348 to afd787e Compare January 28, 2025 12:30
@AleksanderSklorz AleksanderSklorz merged commit 1634716 into develop Jan 28, 2025
18 checks passed
@AleksanderSklorz AleksanderSklorz deleted the ACS-4749-Add-button-is-enabled-for-comment-contains-only-spaces branch January 28, 2025 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants