microsoft / react-native-windows

A framework for building native Windows apps with React.
https://microsoft.github.io/react-native-windows/
Other
16.34k stars 1.14k forks source link

Support react-native-text-input-mask #4443

Closed giregk closed 2 years ago

giregk commented 4 years ago

Support react-native-text-input-mask on RNW

Basic Info

Which app/customer is requesting this module?

All apps that need to work with date inputs, credit card inputs, and other inputs where a masked text input can help a lot to improve UX.

In what scenarios will this module be used?

Credit card inputs, date inputs, phone number inputs, ...

Essential Features

Masked text input with configurable mask.

giregk commented 4 years ago

I managed to do something in pure JS. It's not super performant and does not work with text selection, but it's usable. So this is not urgent for me. But if this development does happen someday, I'll definitely include it in my project.

creambyemute commented 4 years ago

Not sure how similiar this one is, it's view instead of TextInput, unfortunately used by React-Navigation: https://github.com/react-native-community/react-native-masked-view

stmoy commented 4 years ago

@giregk - thank you for filing this request. The underlying WinUI platform doesn't have great support for text masking so it'd be difficult to achieve this in a performant way without changes in the underlying Windows platform.

I'm glad to hear you're unblocked, as it'll be difficult to achieve this in the short term.

ghost commented 2 years ago

There is no immediate intention to take a fix for this issue. In an intent to create clear expectations, the issue has been closed. The issue still exists and may referred to and commeted on. If additional justification is made, it may be reactivated in the future.