Skip to content

[BUG] - IOS Keyboard force comma #91

@mistre85

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])

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