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

TypeScript Error: Property 'RADIOMARKER_READONLY_FONT_SIZE_SCALE' does not exist on type 'typeof RadioItemBrick' #355

Closed
JaneSjs opened this issue Nov 26, 2024 · 1 comment
Assignees
Labels
user issue An issue or bug reported by users.

Comments

@JaneSjs
Copy link
Contributor

JaneSjs commented Nov 26, 2024

T20056 - UI Issue in PDF for Radio buttons
https://surveyjs.answerdesk.io/internal/ticket/details/T20056


public static readonly RADIOMARKER_READONLY_FONT_SIZE_SCALE: number = 1.0 - ((2.0 + Math.E) / 10.0);

The Property 'RADIOMARKER_READONLY_FONT_SIZE_SCALE' does not exist on type 'typeof RadioItemBrick'.

this.controller.fontSize = oldFontSize * RadioItemBrick.RADIOMARKER_READONLY_FONT_SIZE_SCALE;

Demo
image

@JaneSjs JaneSjs added bug user issue An issue or bug reported by users. labels Nov 26, 2024
@JaneSjs JaneSjs changed the title Angular TS Error: Property 'RADIOMARKER_READONLY_FONT_SIZE_SCALE' does not exist on type 'typeof RadioItemBrick' TypeScript Error: Property 'RADIOMARKER_READONLY_FONT_SIZE_SCALE' does not exist on type 'typeof RadioItemBrick' Nov 26, 2024
@JaneSjs
Copy link
Contributor Author

JaneSjs commented Nov 27, 2024

Upon further investigation, I confirmed that the TS error doesn't occur in the latest version of SurveyJS libraries. Please ensure that you're using the same v1.12.11 for all SurveyJS packages within your application.

@JaneSjs JaneSjs closed this as completed Nov 27, 2024
@JaneSjs JaneSjs removed the bug label Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
user issue An issue or bug reported by users.
Projects
None yet
Development

No branches or pull requests

2 participants