We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8a9d70 commit 85b76e9Copy full SHA for 85b76e9
resources/views/fields/date.blade.php
@@ -14,11 +14,13 @@
14
<div class="form-group-label" style="white-space: nowrap;">{!! $suffix !!}</div>
15
@endif
16
</div>
17
- <span class="form-description">
18
- <button type="button" class="btn btn--light btn--sm" x-on:click="$refs.input.value = ''">
19
- {{ __('Clear') }}
20
- </button>
21
- </span>
+ @unless($attrs->get('disabled') || $attrs->get('readonly'))
+ <span class="form-description">
+ <button type="button" class="btn btn--light btn--sm" x-on:click="$refs.input.value = ''">
+ {{ __('Clear') }}
+ </button>
22
+ </span>
23
+ @endunless
24
@if($invalid)
25
<span class="field-feedback field-feedback--invalid">{!! $error !!}</span>
26
0 commit comments