-
Notifications
You must be signed in to change notification settings - Fork 299
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
Implement slider step value extension #1260
Comments
To fix this issue SDC library should start supporting slider step value extension. |
Thanks @santosh-pingle is this an issue you can pick up? |
Sure, I will work on it. |
Any update here @santosh-pingle |
@fredhersch I have not started implementation yet as occupied with other issues, please let me check with @Tarun-Bhardwaj and @jingtang10 |
@jingtang10 @shelaghm I think this should be higher priority. At the moment, the slider control is effectively not useful. Can we review this? Perhaps this is could be a "help wanted" issue? cc: @Tarun-Bhardwaj |
How to clear selection/answer for the slider? Do we have a pattern for this? |
looking into it. |
@shelaghm
|
Will put this on hold until after Ux testing to determine prioritisation. To do:
|
Thanks @fredhersch for the prioritization. @santosh-pingle the primary use case for adding the slider text box is for accessibility best practises. Sliders are hard to interact with for people who are visually impaired and who use screen readers, it is also challenging for anyone who has motor control limitations. Having the text box also makes it easier for other people who know what number they want to enter to be able to just type in the answer instead of fiddling with the slider. The slider and the number in the box should match each other. So if you move the slider, the number should update in the text box. Likewise, if you enter text in the box, it should update on the slider. |
Sure. I will create PR for temporary change to hide slider component workflow in catalog app. |
Current issue
By default, the slider step increment is 10. It should be controllable from the questionnaire. This required implementation of an extension: http://build.fhir.org/extension-questionnaire-sliderstepvalue.html
Describe the feature
When using the slider, I should be able to control the steps increment
Component
Core library, SDC library, reference app, or SDC gallery app
Expected behavior
For example, when specifying a question like, how many previous pregnancies have you had, the slider should step up in increments of 1 (default is 10) - see screenshot of current behaviour below)
Screenshots
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Would you like to work on the issue?
Assigning this bug to @santosh-pingle since he is already working on catalog app changes.
The text was updated successfully, but these errors were encountered: