feat: Add full name to the user signup form (#1534)
This commit is contained in:
parent
796e376fa7
commit
9d3dda9a61
10 changed files with 163 additions and 219 deletions
|
@ -6,8 +6,12 @@
|
|||
:type="type"
|
||||
:placeholder="placeholder"
|
||||
@input="onChange"
|
||||
@blur="onBlur"
|
||||
/>
|
||||
<p v-if="helpText" class="help-text"></p>
|
||||
<span v-if="error" class="message">
|
||||
{{ error }}
|
||||
</span>
|
||||
</label>
|
||||
</template>
|
||||
|
||||
|
@ -34,11 +38,18 @@ export default {
|
|||
type: String,
|
||||
default: '',
|
||||
},
|
||||
error: {
|
||||
type: String,
|
||||
default: '',
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
onChange(e) {
|
||||
this.$emit('input', e.target.value);
|
||||
},
|
||||
onBlur(e) {
|
||||
this.$emit('blur', e.target.value);
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue