Skip to content

Feature: add a prop to set the underlying input type #67

Closed
@Brads3290

Description

@Brads3290

I've got a text input that will accept a password, so I want the underlying input to be type=password. With the PrimeVue component, you can just set <InputText type="password" ... and it's fine; but with FormKit we already use the type attribute with type="primeInputText".

I propose adding an input-type=... prop to the components that might need it, and passing it's value directly down to the PrimeVue component.

I can make a PR for this. Just wanted to discuss first. Is there a different way to set the type of the input that I'm not considering?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions