1
0
mirror of https://github.com/Bubka/2FAuth.git synced 2025-08-08 13:34:30 +02:00
Files
.github
app
bootstrap
config
database
docker
docs
public
resources
js
js_vue3
assets
components
formElements
Button.vue
ButtonBackCloseCancel.vue
FieldError.vue
Form.js
FormButtons.vue
FormCheckbox.vue
FormErrors.js
FormField.vue
FormLockField.vue
FormPasswordField.vue
FormSelect.vue
FormToggle.vue
ActionButtons.vue
DestinationGroupSelector.vue
Dots.vue
GroupSwitch.vue
Kicker.vue
OtpDisplay.vue
SearchBox.vue
Spinner.vue
Toolbar.vue
TotpLooper.vue
VersionChecker.vue
composables
layouts
router
services
stores
views
App.vue
app.js
helpers.js
icons.js
lang
views
routes
storage
tests
.dockerignore
.editorconfig
.env.example
.env.testing
.env.travis
.gitattributes
.gitignore
.styleci.yml
.travis.yml
Dockerfile
LICENSE
Procfile
README.md
_ide_helper.php
_ide_helper_models.php
app.json
artisan
changelog.md
composer.json
composer.lock
crowdin.yml
jsconfig.json
nginx.conf
package-lock.json
package.json
phpstan.neon
phpunit-mysql.xml
phpunit.xml
pint.json
vite.config.js
webpack.mix.js
2FAuth/resources/js_vue3/components/formElements/FieldError.vue

20 lines
431 B
Vue

<script setup>
const props = defineProps({
error: {
type: String,
required: true
},
field: {
type: String,
required: true
}
})
</script>
<template>
<div role="alert">
<p :id="'valError' + field[0].toUpperCase() + field.toLowerCase().slice(1)"
class="help is-danger"
v-html="error" />
</div>
</template>