Bug on MAC(iOS) in textField allowedCharPattern="[0-9.]"

Environment: Jmix 2.1.3

I have 2 computers, one is macbook and one is windows

Here’s my xml

<layout>
        <formLayout id="form" dataContainer="gdCurrencyPairDc">
            .......
            .......
            <textField id="volatilityRateField" property="volatilityRate" allowedCharPattern="[0-9.]"/>
        </formLayout>
        <hbox id="detailActions">
            <button id="saveAndCloseBtn" action="saveAction"/>
            <button id="closeBtn" action="closeAction"/>
        </hbox>
    </layout>

I only allow end-users to type 0 to 9 and the dot
But macbook can type everything (unexpected) while windows can only type 0-9 and the dot (my expectation)
(The last field in above 2 pictures)

Pic 1 is macbook
image

pic 2 is windows
image

it happened on MAC when I choose Telex
image

how to solve this issue