5sControl / 5sControl/5s-frontend
fix bug Default values in Email notification form
- Lingua principale
- TypeScript
- Stelle
- 3
- Fork
- 1
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Summary: Сразу после создания нового item не устанавливаются emails и subject значениями по умолчанию
Envornment:
http://192.168.1.110:3000/
http://192.168.1.111:3000/
https://5s-kaunas-hp.netlify.app/
Win 10 pro
Chrome 117.0.5938.132
Precondition:
Пользователь авторизован
Открыта страница "Inventory"
Steps to reproduce:
1. Кликнуть на кнопку "Add item"
2. Кроме Notification about low stock level ввести и выбрать все необходимые валидные значения
3. Кликнуть кнопку Done
Expected result:
Появилось сообщение "Item saved".
В списке items отображается созданный item с введенными значениями.
Значения по умолчанию для полей emails и subject назначились автоматически.
Actual result:
Появилось сообщение "Item saved".
В списке items отображается созданный item с введенными значениями.
Значения по умолчанию для полей emails и subject не назначились автоматически.

Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Look at the form for adding an inventory item, likely in a component handling item creation. Find where default values for email and subject fields should be set on initialization. Check the form's state management and the 'Notification about low stock level' section. Verify the fix by creating a new item and confirming the defaults appear.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- react, typescript
- Ambito
- frontend
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100