Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 1.96 KB

File metadata and controls

14 lines (10 loc) · 1.96 KB

Capitalize easy #Directives

By Lov`u`e @heappynd

Take the Challenge    简体中文

Create a custom modifier for the 'v-model' directive that changes the first letter of the 'v-model' binding value to uppercase.

<script setup>
</script>

<template>
  <input type="text" v-model.capitalize="" />
</template>

Back Share your Solutions Check out Solutions