I had some problems with the automatic checking of text related DataItems in
guidata 1.6.1.
Looking inside the code I found that the function to_text_string returns
u"None" for a None input value. This results in valid empty text fields with
a missing default value.
To reproduce this problem, just create a dialogue
class Parameters(dt.DataSet):
x_user_name = di.StringItem("Full Name", notempty=True)
y_user_name = di.StringItem("Full Name", notempty=True, default="")
Parameters().edit()
Original issue reported on code.google.com by rockspor...@gmail.com on 28 Aug 2013 at 2:44
Original issue reported on code.google.com by
rockspor...@gmail.com
on 28 Aug 2013 at 2:44