tremor icon indicating copy to clipboard operation
tremor copied to clipboard

Feature Enhancement: Text Input to extend to email, password and number types

Open rmrbytes opened this issue 1 year ago • 7 comments

Are there any plans to extend the Text Input component to support other text types viz: email, passwords and numbers? Thanks

rmrbytes avatar Mar 12 '23 11:03 rmrbytes

+1

rawnly avatar Mar 14 '23 01:03 rawnly

+1

ethndotsh avatar Mar 14 '23 02:03 ethndotsh

Yes this would be really cool.

i701 avatar Mar 17 '23 14:03 i701

100% having text field support password type would be amazing!

thomasmcinnis avatar Mar 22 '23 21:03 thomasmcinnis

TextInput now supports a password type with the newest release v2.1.0. We are currently working on a NumberInput component as well.

mitrotasios avatar Mar 26 '23 22:03 mitrotasios

@mitrotasios awesome! Is it possible to have email too? 😅

Anyway tbh, I don't understand why not just exposing the attribute type to the lib user.. I can understand number/date, but why limiting to password and text? (i.e url,email etc)

rawnly avatar Mar 26 '23 23:03 rawnly

We can't just expose the native prop because we don't allow for number / date and several others as you said. We'll add email and url as well since people want that but I don't see another another type that would make sense in this context of a plain TextInput.

mitrotasios avatar Mar 26 '23 23:03 mitrotasios

severinlandolt avatar Sep 07 '23 09:09 severinlandolt