alibaba / alibaba/weex

[Android] [weex 0.30.2] Unable to change input type from password to text

Open
#3,242 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
18.5k
Forks
2.1k
PR merge metrics
No merged PRs in 30d

Description

After upgrade from 0.28 it is impossible to change input field type back to `text` after changing from `text` to `password`: field remains `password`

```




Toggle to {{ visible ? 'password' : 'text' }}

export default {
name: 'PasswordField',
data () {
return {
visible: true,
val: 'Pazzword'
};
},
};

```

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. Reproduce the provided input-type toggle on Android with Weex 0.30.2, then trace the input component's type binding and compare behavior with 0.28. Done means changing from text to password and back displays the field as text again, with a regression test covering the toggle.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, javascript
Domain
frontend, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.