Skip to content
Snippets Groups Projects
Commit f2401192 authored by Petar Hristov's avatar Petar Hristov :speech_balloon:
Browse files

Fix: minor fixes

parent b600d36d
No related branches found
No related tags found
1 merge request!72Release: Sprint/2022 10 :robot:
Pipeline #726374 passed
......@@ -103,7 +103,7 @@
id="Email"
v-model="$v.form.emailAddress.$model"
:state="
$v.form.emailAddress.$dirty || !form.emailAddress
$v.form.emailAddress.$dirty || !profileForm.form.emailAddress
? !$v.form.emailAddress.$invalid
: null
"
......@@ -265,7 +265,11 @@
? profileForm.form.language.id
: false
"
:state="form.language && form.language.id ? null : false"
:state="
profileForm.form.language && profileForm.form.language.id
? null
: false
"
:options="languages"
name="radios-stacked"
text-field="displayName"
......@@ -374,7 +378,16 @@ export default defineComponent({
will enable proper typings in the code
*/
const profileForm = reactive({
form: {} as UserObject,
form: {
title: "",
givenname: "",
surname: "",
emailAddress: "",
organization: "",
institute: "",
disciplines: [] as DisciplineObject[],
language: {} as LanguageObject,
} as UserObject,
});
const profileRules = {
form: {
......@@ -399,7 +412,6 @@ export default defineComponent({
savingProfile: false,
currentUserComponent: "UserProfileComponent",
disciplineLabel: "displayNameEn",
// form: {} as UserObject,
selectedExternalOrganization: null as Record<string, unknown> | null,
queryTimer: 0,
loadingOrganizations: false,
......
......@@ -8,10 +8,12 @@
>
<div class="create-modal-content">
<b-input-group id="tokenButtonGroup" style="width: 100%">
<b-form-input
<b-form-textarea
id="accessToken"
v-model="$v.token.AccessToken.$model"
:readonly="true"
rows="7"
no-resize
/>
<b-input-group-append>
<b-button
......
.multiselect__placeholder {
color: var(--gray);
color: var(--gray) !important;
/* Value taken from bootstrap */
font-size: 1rem;
/* All bellow is to center the gray placeholder vertically */
......@@ -13,13 +13,13 @@
.multiselect__option--highlight {
/* Color for when an option IS NOT selected and hovered on */
background: var(--primary);
background: var(--primary) !important;
}
.multiselect__option--selected.multiselect__option--highlight,
.multiselect__option--highlight:after {
/* Color for when an option IS selected and hovered on */
background: var(--primary);
background: var(--primary) !important;
}
.multiselect__input,
......@@ -46,29 +46,29 @@
}
.multiselect__tag {
background: var(--primary);
color: var(--white);
background: var(--primary) !important;
color: var(--white) !important;
margin-bottom: 0px;
margin-right: 5px;
}
.multiselect__tag-icon:after {
color: var(--secondary);
color: var(--secondary) !important;
}
.multiselect__spinner:before,
.multiselect__spinner:after {
border-color: var(--primary) transparent transparent;
border-color: var(--primary) transparent transparent !important;
}
.multiselect__tag-icon:focus,
.multiselect__tag-icon:hover {
background: transparent;
background: transparent !important;
}
.multiselect__tag-icon:focus:after,
.multiselect__tag-icon:hover:after {
color: var(--white);
color: var(--white) !important;
}
.multiselect--disabled {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment