Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged v0.24.1 beta fixes back into develop #1219

Merged
merged 8 commits into from
Oct 26, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,10 @@ export class DnnInput {
}

private shouldLabelFloat(): boolean {
if (this.type === "number" && isNaN(this.value as number)) {
return true;
}

if (this.focused) {
return false;
}
Expand All @@ -184,7 +188,7 @@ export class DnnInput {
return false;
}

if (this.type === "number" && this.value === 0){
if (this.value === 0 || this.value === "0") {
return false;
}

Expand Down
Loading