feat: inherit attrs to Textarea + fix Input label color (#245)

* feat: add more attributes to Textarea

* refactor: use `inheritAttrs` option to simplify code

* fix: `Input` label color in dark mode
This commit is contained in:
WangYK
2023-11-21 19:22:25 +08:00
committed by GitHub
parent 67091e1d90
commit a4a717f4e0
7 changed files with 147 additions and 18 deletions

View File

@@ -5,7 +5,7 @@
:rows="3"
custom
label="Your message"
placeholder="Write you message..."
placeholder="Write your message..."
>
<template #footer>
<div class="flex items-center justify-between">
@@ -84,7 +84,10 @@
</fwb-textarea>
<p class="ml-auto text-xs text-gray-500 dark:text-gray-400">
Remember, contributions to this topic should follow our
<fwb-a href="#">
<fwb-a
class="underline"
href="#"
>
Community Guidelines
</fwb-a>.
</p>