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<{
|
||||
name: string
|
||||
type: HTMLInputElement['type']
|
||||
placeholder?: string
|
||||
}>(),
|
||||
{
|
||||
placeholder: '',
|
||||
},
|
||||
{},
|
||||
)
|
||||
const attrs = useAttrs()
|
||||
const { describedBy, invalid } = inject(formGroupExtras, {
|
||||
|
@ -37,7 +34,6 @@ const validationListeners = {
|
|||
:value="value"
|
||||
:name="name"
|
||||
:type="type"
|
||||
:placeholder="placeholder"
|
||||
:aria-invalid="invalid"
|
||||
:aria-describedby="describedBy"
|
||||
class="input input-bordered"
|
||||
|
|
Loading…
Add table
Reference in a new issue