Skip to content

Commit

Permalink
fix(DateInput): add pattern attribute for numbers only input
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanvanherwijnen committed Nov 19, 2024
1 parent bd96638 commit 11d936a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/spicy-actors-fail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@simsustech/quasar-components": patch
---

fix(DateInput): add pattern attribute for numbers only input
1 change: 1 addition & 0 deletions packages/components/src/ui/form/DateInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
:key="part"
borderless
v-bind="dateProps[part]"
pattern="[0-9]*"
>
<template #after>
<a v-if="index < 2" style="margin-left: -0.75em; margin-top: 0.75em"
Expand Down

0 comments on commit 11d936a

Please sign in to comment.