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

Readme: "infinite" value for _attempts #206

Open
swashbuck opened this issue Dec 2, 2024 · 0 comments
Open

Readme: "infinite" value for _attempts #206

swashbuck opened this issue Dec 2, 2024 · 0 comments

Comments

@swashbuck
Copy link

Subject of the issue

The readme indicates that "infinite" is a valid value for _attempts. However, the schemas require a numeric value. Therefore, the string "infinite" is not permitted in the authoring tool.

_attempts (number): Controls the number of attempts available to the user. Any of the following values may be used to indicate an infinite number of attempts: -1, 0, null, undefined, "infinite". Note: If set to "infinite" and used in conjunction with _completionCriteria._requireAssessmentCompleted = true the course will not be considered complete until the assessment is passed.

Although "infinite" may be valid when working in the framework, I feel that we should encourage developers to use a numeric value for compatibility with the authoring tool. Suggest updating the readme to remove references to the string "infinite" or clarifying when it can and cannot be used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant