-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Connect TextArea input to form (#4309)
- add a placeholder component to keep the type check without throwing an error for unsupported field types
- Loading branch information
1 parent
6c3df10
commit c9c8a45
Showing
3 changed files
with
51 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<template> | ||
<div class="border border-dotted p-2"> | ||
<pre>place holder for field type {{ type }}</pre> | ||
</div> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import type { CellValueType } from "../../../metadata-utils/src/types"; | ||
defineProps<{ | ||
type: CellValueType; | ||
}>(); | ||
defineExpose({ validate }); | ||
function validate() { | ||
// do nothing, its just a place holder for unkown types | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters