FXForms icon indicating copy to clipboard operation
FXForms copied to clipboard

fix enum default value not work bug

Open lzwjava opened this issue 9 years ago • 0 comments

fix https://github.com/nicklockwood/FXForms/issues/339

originally ,

if (!value && self.defaultValue) {
    self.value = value = self.defaultValue;
}

when I debug into it,

image

so !value is false ,then not go into the block .

so I think we should recognize the default enum value 。

lzwjava avatar Jul 10 '15 19:07 lzwjava