0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-08 14:02:41 +00:00

"Added 'required' attribute to several form input fields in NotificationAdd component."

This commit is contained in:
Víctor Losada Hernández
2024-08-30 20:25:39 +02:00
parent e81a9dab1f
commit 36549f3224

View File

@@ -90,6 +90,7 @@ const NotificationAdd = () => {
type='text' type='text'
ref={dismissKeyRef} ref={dismissKeyRef}
placeholder='GOOGLEDRIVENOTIF' placeholder='GOOGLEDRIVENOTIF'
required
/> />
</label> </label>
@@ -100,6 +101,7 @@ const NotificationAdd = () => {
type='text' type='text'
ref={titleRef} ref={titleRef}
placeholder='Stop using Google Drive as image host' placeholder='Stop using Google Drive as image host'
required
/> />
</label> </label>
@@ -109,7 +111,8 @@ const NotificationAdd = () => {
className='fieldInput' className='fieldInput'
type='text' type='text'
ref={textRef} ref={textRef}
placeholder='Google Drive is not an image hosting site, you should not use it as such.'> placeholder='Google Drive is not an image hosting site, you should not use it as such.'
required>
</textarea> </textarea>
</label> </label>
@@ -121,6 +124,7 @@ const NotificationAdd = () => {
className='fieldInput' className='fieldInput'
selected={startAt} selected={startAt}
onChange={date => setStartAt(date)} onChange={date => setStartAt(date)}
required
/> />
</label> </label>
@@ -131,6 +135,7 @@ const NotificationAdd = () => {
className='fieldInput' className='fieldInput'
selected={stopAt} selected={stopAt}
onChange={date => setStopAt(date)} onChange={date => setStopAt(date)}
required
/> />
</label> </label>