Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefix disappear after clear field #281

Open
lcglucas opened this issue Feb 20, 2023 · 0 comments
Open

Prefix disappear after clear field #281

lcglucas opened this issue Feb 20, 2023 · 0 comments

Comments

@lcglucas
Copy link

I'm using "react-native-masked-text": "^1.13.0" and if I clear all the input data, it remains blank. This is my config:

<TextInputMask
  type={'money'}
  options={{
    precision: 2,
    separator: ',',
    delimiter: '.',
    unit: 'R$ ',
    suffixUnit: ''
  }}
  value={value}
  onChangeText={onChange}
  customTextInput={InputStyle}
/>

ezgif com-crop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant