ChicoState / ChicoState/open-source-security-camera
settings page not updating 'scale' attribute correctly on form submission:
- Dominant language
- Python
- Stars
- 10
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
The 'scale' selector lists 4 valid values '1, .75, .5, .25'
one can select all values and submit, however whenever the '.5' value is selected and submitted, the value displayed in the selector box is '1' however the database does seem to be updating with the correct value and the image is correctly scaled.
**To Reproduce**
Steps to reproduce the behavior:
1. ./manage.py runserver
2. navigate to the settings webpage
3. Scroll down to to 'scale'
4. select '.5'
5. click 'submit'
6. still on settings page scroll down to 'scale' and see that the number displayed is '1' not '.5'
7. navigate to 'home' page, see that video stream picture size is correctly scaled to '.5'
**Expected behavior**
The correct value should be displayed in the value box
**Screenshots**
If applicable, add screenshots to help explain your problem.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.