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

Show read-only user-attributes as locked #8868

Merged
merged 9 commits into from
Apr 20, 2023
Merged

Show read-only user-attributes as locked #8868

merged 9 commits into from
Apr 20, 2023

Conversation

AlexAndBear
Copy link
Contributor

@AlexAndBear AlexAndBear commented Apr 20, 2023

Description

Related Issue

Motivation and Context

How Has This Been Tested?

  • test environment:
  • test case 1:
  • test case 2:
  • ...

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

Open tasks:

  • ...

@update-docs
Copy link

update-docs bot commented Apr 20, 2023

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@AlexAndBear AlexAndBear marked this pull request as ready for review April 20, 2023 01:24
Comment on lines -14 to -18
:label="title"
:fix-message-line="fixMessageLine"
:error-message="errorMessage"
:warning-message="warningMessage"
:description-message="descriptionMessage"
Copy link
Contributor Author

@AlexAndBear AlexAndBear Apr 20, 2023

Choose a reason for hiding this comment

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

basically I do the same as we do with oc-select and vue-select and bind the $attrs

Comment on lines -54 to 46
},
disabled: {
type: Boolean,
default: false
},

/**
* Whether or not vertical space below the input should be reserved for a one line message,
* so that content actually appearing there doesn't shift the layout.
*/
fixMessageLine: {
type: Boolean,
default: false
},
/**
* A warning message which is shown below the select.
*/
warningMessage: {
type: String,
default: null
},
/**
* An error message which is shown below the select.
*/
errorMessage: {
type: String,
default: null
},
/**
* A description text which is shown below the select field.
*/
descriptionMessage: {
type: String,
default: null
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

These are props of oc-select, we don't need to define them twice =)

Copy link
Contributor

@JammingBen JammingBen left a comment

Choose a reason for hiding this comment

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

LGTM

@sonarcloud
Copy link

sonarcloud bot commented Apr 20, 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

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@AlexAndBear AlexAndBear merged commit c36227b into master Apr 20, 2023
@delete-merged-branch delete-merged-branch bot deleted the issues/8840 branch April 20, 2023 08:01
@micbar micbar mentioned this pull request May 3, 2023
89 tasks
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.

[Web] Show read-only user-attributes as locked
2 participants