Skip to content

[bug] fix(widgets): DigitsOptions lacks value property option #3060

Description

@itssagarK

Issue Description

### Title
fix(widgets): `DigitsOptions` lacks `value` property option

### Description
In `packages/widgets/src/display/Digits.ts`, the `DigitsOptions` interface only declared `color?:

Color, omitting value?: string. Furthermore, the constructor read (style as any).valueinstead of checkingopts.value. Passing { value: '42' }inopts` failed to initialize the widget value.

### Expected Behavior
`DigitsOptions` should declare `value?: string`, and the constructor should accept `opts.value`.

GSSoC contributor?

  • Yes. You contribute under GSSoC 2026.
  • No.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bug+10 pts. Bug fix.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions