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

fix: created custom form input for boolean values #1715

Merged
merged 6 commits into from
Mar 2, 2023

Conversation

TheSlimvReal
Copy link
Collaborator

Once again see issue: #1683
It seemed like the issue occurred, because EditBooleanComponent was not yet using a mat-form-field.
Using the new CustomFormControlDirective I created a BooleanInput component that can be used inside a mat-form-field.
Some stylings needed to be adjusted.

Visible/Frontend Changes

  • Editing booleans looks the same as other form components

Architectural/Backend Changes

--

@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2023

Deployed to https://pr-1715.aam-digital.net/

Copy link
Member

@sleidig sleidig left a comment

Choose a reason for hiding this comment

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

Looks and works good 👍
I actually like how this has a similar mat-form-field boxing!

I would tend towards making the checkbox label font-size same as the actual values of other fields. While logically "inactive" is a label not a value here, from the look and feel it appears a bit off to me:
image
what do you think?

@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 2, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@TheSlimvReal TheSlimvReal merged commit 058c3a9 into master Mar 2, 2023
@TheSlimvReal TheSlimvReal deleted the checkbox_improvement branch March 2, 2023 09:10
@aam-digital-ci
Copy link
Collaborator

🎉 This PR is included in version 3.19.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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.

3 participants