Enhance Current password fields for better understanding

This commit is contained in:
Bubka
2020-02-28 15:21:12 +01:00
parent 9dcb8e0da9
commit dc5a6082ae
7 changed files with 28 additions and 7 deletions

View File

@ -1,5 +1,5 @@
<template>
<div class="field">
<div class="field" :class="{ 'with-offset' : hasOffset }">
<label class="label" v-html="label"></label>
<div class="control">
<input :id="fieldName" :type="inputType" class="input" v-model="form[fieldName]" :placeholder="placeholder" v-bind="$attrs" />
@ -51,6 +51,11 @@
type: String,
default: ''
},
hasOffset: {
type: Boolean,
default: false
}
}
}
</script>