Disabled fields should be enableable
Open
- Dominant language
- Python
- Stars
- 3.7k
- Forks
- 336
- PR merge metrics
- No merged PRs in 30d
Description
For forms where some fields are initially disabled, but may be enabled through Javascript later, robobrowser seems to be unable to replicate that behaviour. `disabled` is a `@property` on the form field which cannot be overridden, so disabled fields cannot be enabled programmatically.
It's possible to work around this by adding a new field (`form.add_field(Input(''))`), but this seems rather clunky. It'd be better to be able to do something like this:
```
form['field'].disabled = False
```
Contributor guide
Assessment
This issue has not been assessed yet.