mirror of
https://github.com/YunoHost/yunohost-portal.git
synced 2024-09-03 20:06:23 +02:00
TextInput: remove prop placeholder
This commit is contained in:
parent
c8b4a79564
commit
72527ad82a
1 changed files with 1 additions and 5 deletions
|
@ -6,11 +6,8 @@ const props = withDefaults(
|
||||||
defineProps<{
|
defineProps<{
|
||||||
name: string
|
name: string
|
||||||
type: HTMLInputElement['type']
|
type: HTMLInputElement['type']
|
||||||
placeholder?: string
|
|
||||||
}>(),
|
}>(),
|
||||||
{
|
{},
|
||||||
placeholder: '',
|
|
||||||
},
|
|
||||||
)
|
)
|
||||||
const attrs = useAttrs()
|
const attrs = useAttrs()
|
||||||
const { describedBy, invalid } = inject(formGroupExtras, {
|
const { describedBy, invalid } = inject(formGroupExtras, {
|
||||||
|
@ -37,7 +34,6 @@ const validationListeners = {
|
||||||
:value="value"
|
:value="value"
|
||||||
:name="name"
|
:name="name"
|
||||||
:type="type"
|
:type="type"
|
||||||
:placeholder="placeholder"
|
|
||||||
:aria-invalid="invalid"
|
:aria-invalid="invalid"
|
||||||
:aria-describedby="describedBy"
|
:aria-describedby="describedBy"
|
||||||
class="input input-bordered"
|
class="input input-bordered"
|
||||||
|
|
Loading…
Add table
Reference in a new issue