drawdb icon indicating copy to clipboard operation
drawdb copied to clipboard

Boolean default values not displayed

Open jamaa opened this issue 1 year ago • 5 comments

Default values of boolean fields seem to not be displayed properly: grafik

jamaa avatar Apr 06 '24 17:04 jamaa

Hello! I can't reproduce the bug.

Screenshot 2024-04-10 025622

I tried on Edge, Chrome, and Firefox and it works on all 3.

1ilit avatar Apr 09 '24 23:04 1ilit

Same for me I cannot reproduce this.

jonas-grgt avatar Apr 10 '24 05:04 jonas-grgt

Yes tried on all possible browsers, not able to reproduce

himalaya-kaushik avatar Apr 10 '24 17:04 himalaya-kaushik

I guess it only happens when you import from source, try the following:

CREATE TABLE `Test` (
	`DefaultFalse`	BOOLEAN DEFAULT (FALSE),
	`DefaultTrue`	BOOLEAN DEFAULT (TRUE)
);

If I manually edit the default values in the browser afterwards, they do show up properly.

jamaa avatar Apr 10 '24 17:04 jamaa

I guess it only happens when you import from source, try the following:

CREATE TABLE `Test` (
	`DefaultFalse`	BOOLEAN DEFAULT (FALSE),
	`DefaultTrue`	BOOLEAN DEFAULT (TRUE)
);

If I manually edit the default values in the browser afterwards, they do show up properly.

Did this, I can replicate the issue

Just-A-Pixel avatar Apr 10 '24 20:04 Just-A-Pixel