enthought / enthought/traitsui

Default RangeEditor produces double error popups which cannot be closed

Open
#158 4 comments 0 reactions 0 assignees View on GitHub
type: bug
Dominant language
Python
Stars
306
Forks
99
PR merge metrics
No merged PRs in 30d

Description

To replicate the issue run the following example and set the age value to -1.

``` python
from traits.api import HasTraits, Str, Range
from traitsui.api import View

class Person(HasTraits):
""" A simple class representing a person object.

"""
last_name = Str()

first_name = Str()

age = Range(low=0)

traits_view = View('last_name', 'first_name', 'age', resizable=True)

if __name__ == '__main__':
john = Person(first_name='John', last_name='Doe', age=42)
john.configure_traits()
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.