enthought / enthought/traitsui
Synced invalid editor trait does not disable dialog OK button
Open
- Dominant language
- Python
- Stars
- 306
- Forks
- 99
- PR merge metrics
- No merged PRs in 30d
Description
When using sync_to_view for the editor invalid trait, the dialogs OK button is not disabled and lets a user apply the invalid values to the model.
Can be tested with Invalid_state_handling.py, when the OK button is shown on the view.

trait_get() returns {'mass': 100.0, 'velocity': 100.0, 'kinetic_energy': 500000.0, 'error': True, 'status': 'The kinetic energy of the system is too high.'} after closing the dialog.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.