0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 18:32: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'
ref={dismissKeyRef}
placeholder='GOOGLEDRIVENOTIF'
required
/>
</label>
@@ -100,6 +101,7 @@ const NotificationAdd = () => {
type='text'
ref={titleRef}
placeholder='Stop using Google Drive as image host'
required
/>
</label>
@@ -109,7 +111,8 @@ const NotificationAdd = () => {
className='fieldInput'
type='text'
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>
</label>
@@ -121,6 +124,7 @@ const NotificationAdd = () => {
className='fieldInput'
selected={startAt}
onChange={date => setStartAt(date)}
required
/>
</label>
@@ -131,6 +135,7 @@ const NotificationAdd = () => {
className='fieldInput'
selected={stopAt}
onChange={date => setStopAt(date)}
required
/>
</label>