Skip to content

Commit

Permalink
feat: limit possible input types
Browse files Browse the repository at this point in the history
  • Loading branch information
chinook25 committed Nov 28, 2024
1 parent b3a2f30 commit ab8417e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/tailwind-components/components/input/String.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

<script setup lang="ts">
import type { columnValue } from "../../../metadata-utils/src/types";
type possibleInputTypes = "password";
const props = withDefaults(
defineProps<{
Expand All @@ -32,14 +33,13 @@ const props = withDefaults(
required?: boolean;
valid?: boolean;
hasError?: boolean;
type?: string;
type?: possibleInputTypes;
}>(),
{
disabled: false,
required: false,
hasError: false,
valid: false,
type: "",
}
);
Expand Down

0 comments on commit ab8417e

Please sign in to comment.