The input component cannot eject a third-party keyboard when it is under iOS.

problem description

input component cannot eject a third-party keyboard under iOS

the environmental background of the problems and what methods you have tried

input focus, when typing text, can only switch the automatic keyboard of the system, can not switch to the third-party keyboard, is there a solution?

related codes

/ / Please paste the code text below (do not replace the code with pictures)
< template >

<div class="wrapper">
    <input class="username"
       type="text"
       autofocus="true"
       placeholder=""
       value="" >
    </input>
    <input class="password"
       type="password"
       placeholder=""
       value="">
    </input>
    <wxc-button text="" type="blue"
        @wxcButtonClicked="wxcButtonClicked"></wxc-button>
</div>

< / template >

< style scoped >
.wrapper {

flex-direction: column;
align-items: center;
justify-content: center;

}
.username {

width: 600px;
height: 88px;
font-size: 30px;
margin-bottom: 20px;
border-style: solid;
border-width: 2px;
border-color: rgb(63, 140, 225);
text-align: center;

}
.password {

width: 600px;
height: 88px;
font-size: 30px;
margin-bottom: 20px;
border-style: solid;
border-width: 2px;
border-color: rgb(63, 140, 225);;
text-align: center;

}
< / style >

< script >

import { WxcButton } from "weex-ui"
export default {
    components: {WxcButton},
    data: () =>({
        password: "",
        username: ""
    }),
    methods: {
        wxcButtonClicked (e) {
        console.log(e)
    }
}
}

< / script >

what result do you expect? What is the error message actually seen?

Apr.02,2021

found that native written app, will disable third-party keyboards only if the type of setSecureTextEntry is set to password,. So this problem is not the problem of weex, it is the problem of iOS system.

Menu