Ignore:
Timestamp:
Jan 5, 2010, 3:36:45 PM (12 years ago)
Author:
Ralph Meijer <ralphm@…>
Branch:
default
Message:

Reposition assignment for the Data Form field label, so it's not overwritten.

Author: ralphm.
Fixes #60.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wokkel/data_form.py

    r80 r85  
    131131        self.fieldType = fieldType
    132132        self.var = var
     133
    133134        if value is not None:
    134135            self.value = value
    135136        else:
    136137            self.values = values or []
     138
     139        self.label = label
    137140
    138141        try:
     
    142145            self.options = options or []
    143146
    144         self.label = label
    145147        self.desc = desc
    146148        self.required = required
Note: See TracChangeset for help on using the changeset viewer.