File tree Expand file tree Collapse file tree
contentcuration/contentcuration/frontend/accounts/pages Expand file tree Collapse file tree Original file line number Diff line number Diff line change 120120 :invalidText =" errors .other_use .length ? errors .other_use [0 ] : ' ' "
121121 :showInvalidText =" true "
122122 class="conditional-field-textarea"
123+ @input =" resetErrors (' other_use' )"
123124 @blur =" validateField (' other_use' )"
124125 />
125126 </KTransition >
126127 </div >
127128 <div
128129 v-if =" !valid && (!form.uses || !form.uses.length)"
130+ :style =" { color: $themeTokens.error }"
129131 class =" field-error"
130132 >
131133 {{ $tr('fieldRequired') }}
139141 />
140142 <div
141143 v-if =" !valid && (!form.locations || !form.locations.length)"
144+ :style =" { color: $themeTokens.error }"
142145 class =" field-error"
143146 >
144147 {{ $tr('fieldRequired') }}
176179 </KTransition >
177180 <div
178181 v-if =" !valid && (!form.source || !form.source.value)"
182+ :style =" { color: $themeTokens.error }"
179183 class =" field-error"
180184 >
181185 {{ $tr('fieldRequired') }}
193197 <div
194198 v-if =" !acceptedAgreement"
195199 key =" agreement-error"
200+ :style =" { color: $themeTokens.error }"
196201 class =" policy-error"
197202 >
198203 {{ $tr('ToSRequiredMessage') }}
409414 const sourceValue =
410415 cleanedData[key] && cleanedData[key].value != null
411416 ? cleanedData[key].value
412- : cleanedData[key] || ' ' ;
417+ : typeof cleanedData[key] === ' string'
418+ ? cleanedData[key]
419+ : ' ' ;
413420 if (sourceValue === sources .ORGANIZATION ) {
414421 cleanedData[key] = ` ${ cleanedData .organization } (organization)` ;
415422 } else if (sourceValue === sources .CONFERENCE ) {
738745 margin-top : 4px ;
739746 margin-bottom : 8px ;
740747 font-size : 12px ;
741- color : #b00020 ;
742748 }
743749
744750 .policy-checkbox {
751757 margin-bottom : 4px ;
752758 margin-left : 40px ;
753759 font-size : 12px ;
754- color : #b00020 ;
755760 }
756761
757762 .span-spacing {
You can’t perform that action at this time.
0 commit comments