Skip to content

Commit f42392b

Browse files
committed
Made textarea fields required
1 parent 93bb87a commit f42392b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/views/studio/button-editor.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@
230230
<div class="form-group col-lg-8"><br>
231231
<p>Custom CSS</p>
232232

233-
<textarea name="custom_css" rows="9" id="sCode" type="text" value="{{ $custom_css }}" class="form-control">{{ $custom_css }}</textarea>
233+
<textarea name="custom_css" rows="9" id="sCode" type="text" value="{{ $custom_css }}" class="form-control" required>{{ $custom_css }}</textarea>
234234
</div>
235235
</div>
236236
</details>
@@ -267,7 +267,7 @@
267267
@csrf
268268
<div class="form-group col-lg-8">
269269
<h2>Custom Icon</h2>
270-
<textarea id="textareabox" type="text" name="custom_icon" value="{{ $custom_icon }}" class="form-control">{{ $custom_icon }}</textarea>
270+
<textarea id="textareabox" type="text" name="custom_icon" value="{{ $custom_icon }}" class="form-control" required>{{ $custom_icon }}</textarea>
271271
</div>
272272
<script type="text/javascript">
273273
// Displays alert if custom icon doesn't contain string "fa-"

0 commit comments

Comments
 (0)