Skip to content

Commit

Permalink
1,441st Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Shyam-Chen committed Apr 27, 2024
1 parent 71a9bcb commit ec856db
Showing 1 changed file with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ const flux = reactive({
usdMasked: '',
usdUnmasked: '',
verificationCodeMasked: '',
verificationCodeUnmasked: undefined,
});
</script>

Expand Down Expand Up @@ -128,4 +131,25 @@ const flux = reactive({
</div>
</XCard>
</section>

<section class="my-8">
<h2 class="text-3xl font-bold my-4 pt-6">One-time Password</h2>

<XCard>
<XInputMask
v-model:masked="flux.verificationCodeMasked"
v-model:unmasked="flux.verificationCodeUnmasked"
:mask="{ mask: '000 000' }"
label="Verification Code"
/>

<div class="mt-1">
<div>Masked: {{ flux.verificationCodeMasked }}</div>
<div>
Unmasked: {{ flux.verificationCodeUnmasked }}
<XCode>{{ typeof flux.verificationCodeUnmasked }}</XCode>
</div>
</div>
</XCard>
</section>
</template>

0 comments on commit ec856db

Please sign in to comment.