Skip to content

[BUG] - IOS Keyboard force comma #91

Description

@mistre85

Describe the bug
In the IOS version the keyboard has a forcing of the "comma" character, but the component uses only the version with the "dot" character. I used a fix with ref, would it be possible to have a native props to fix this iussue?

this is the fix i made

function onChange(value) {
this.value = value.replace(",",".");
}

useEffect(()=>{
    if(inputRef!=null && inputRef.current != null){
        inputRef.current.onChange = onChange;
    }
},[inputRef])

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions