1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-04-13 08:41:46 +00:00

Final validation and styling fixes

This commit is contained in:
Bram Wiepjes 2024-07-10 15:22:08 +02:00
parent ff6a0880e2
commit dcf7ba3852
4 changed files with 8 additions and 6 deletions
enterprise/web-frontend/modules/baserow_enterprise/pages/login
web-frontend/modules
core/components/settings
database/components/table

View file

@ -17,6 +17,7 @@
:label="$t('field.emailAddress')" :label="$t('field.emailAddress')"
required required
:error="fieldHasErrors('email') || loginRequestError" :error="fieldHasErrors('email') || loginRequestError"
class="margin-bottom-2"
> >
<FormInput <FormInput
ref="email" ref="email"

View file

@ -11,6 +11,7 @@
ref="first_name" ref="first_name"
v-model="values.first_name" v-model="values.first_name"
size="large" size="large"
:error="fieldHasErrors('first_name')"
@blur="$v.values.first_name.$touch()" @blur="$v.values.first_name.$touch()"
></FormInput> ></FormInput>

View file

@ -5,6 +5,7 @@
:error="fieldHasErrors('name')" :error="fieldHasErrors('name')"
required required
small-label small-label
class="margin-bottom-2"
> >
<template #label> <template #label>
<i class="iconoir-text"></i> {{ $t('tableForm.name') }}</template <i class="iconoir-text"></i> {{ $t('tableForm.name') }}</template
@ -15,14 +16,13 @@
size="large" size="large"
:error="fieldHasErrors('name')" :error="fieldHasErrors('name')"
:disabled="!creation" :disabled="!creation"
class="margin-bottom-2"
@focus.once="$event.target.select()" @focus.once="$event.target.select()"
@blur="$v.values.name.$touch()" @blur="$v.values.name.$touch()"
> >
<template #error>
{{ $t('error.requiredField') }}
</template>
</FormInput> </FormInput>
<template #error>
{{ $t('error.requiredField') }}
</template>
</FormGroup> </FormGroup>
<slot></slot> <slot></slot>
</form> </form>

View file

@ -63,8 +63,8 @@
</div> </div>
</div> </div>
</div> </div>
<div v-if="filename !== ''" class="control"> <div v-if="filename !== ''" class="control margin-top-2">
<label class="control__label">{{ <label class="control__label control__label--small">{{
$t('tableJSONImporter.encodingLabel') $t('tableJSONImporter.encodingLabel')
}}</label> }}</label>
<div class="control__elements"> <div class="control__elements">