-
Notifications
You must be signed in to change notification settings - Fork 159
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
Conversation
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. |
:label="title" | ||
:fix-message-line="fixMessageLine" | ||
:error-message="errorMessage" | ||
:warning-message="warningMessage" | ||
:description-message="descriptionMessage" |
There was a problem hiding this comment.
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
}, | ||
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 | ||
} |
There was a problem hiding this comment.
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 =)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
packages/web-app-admin-settings/src/components/Users/SideBar/EditPanel.vue
Outdated
Show resolved
Hide resolved
…ditPanel.vue Co-authored-by: Jannik Stehle <[email protected]>
Kudos, SonarCloud Quality Gate passed! |
Description
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist:
Open tasks: