@@ -27,7 +27,7 @@ function handleKeydown(e) {
2727 @if ($useMonacoEditor )
2828 <x-forms .monaco-editor id =" {{ $id } }" language =" {{ $monacoEditorLanguage } }" name =" {{ $name } }"
2929 name =" {{ $id } }" model =" {{ $value ?? $id } }" wire:model =" {{ $value ?? $id } }"
30- readonly =" {{ $readonly } }" label =" dockerfile" />
30+ readonly =" {{ $readonly } }" label =" dockerfile" autofocus = " {{ $autofocus } } " />
3131 @else
3232 @if ($type === ' password' )
3333 <div class =" relative" x-data =" { type: 'password' }" >
@@ -46,7 +46,7 @@ class="absolute inset-y-0 right-0 flex items-center h-6 pt-2 pr-2 cursor-pointer
4646 <input x-cloak x-show =" type === 'password'" value =" {{ $value } }"
4747 {{ $attributes -> merge ([' class' => $defaultClassInput ]) } } @required ($required )
4848 @if ($id !== ' null' ) wire:model ={{ $id } } @endif
49- wire:dirty.class =" dark:ring- warning ring-warning " wire:loading.attr =" disabled"
49+ wire:dirty.class =" dark:border-l- warning border-l-coollabs border-l-4 " wire:loading.attr =" disabled"
5050 type =" {{ $type } }" @readonly ($readonly ) @disabled ($disabled ) id =" {{ $id } }"
5151 name =" {{ $name } }" placeholder =" {{ $attributes -> get (' placeholder' ) } }"
5252 aria-placeholder =" {{ $attributes -> get (' placeholder' ) } }" >
@@ -55,9 +55,10 @@ class="absolute inset-y-0 right-0 flex items-center h-6 pt-2 pr-2 cursor-pointer
5555 @if ($realtimeValidation ) wire:model.debounce.200ms =" {{ $id } }"
5656 @else
5757 wire:model ={{ $value ?? $id } }
58- wire:dirty.class =" dark:ring- warning ring-warning " @endif
58+ wire:dirty.class =" dark:border-l- warning border-l-coollabs border-l-4 " @endif
5959 @disabled ($disabled ) @readonly ($readonly ) @required ($required ) id =" {{ $id } }"
60- name =" {{ $name } }" name ={{ $id } } ></textarea >
60+ name =" {{ $name } }" name ={{ $id } }
61+ @if ($autofocus ) x-ref =" autofocusInput" @endif ></textarea >
6162
6263 </div >
6364 @else
@@ -67,9 +68,10 @@ class="absolute inset-y-0 right-0 flex items-center h-6 pt-2 pr-2 cursor-pointer
6768 @if ($realtimeValidation ) wire:model.debounce.200ms =" {{ $id } }"
6869 @else
6970 wire:model ={{ $value ?? $id } }
70- wire:dirty.class =" dark:ring- warning ring-warning " @endif
71+ wire:dirty.class =" dark:border-l- warning border-l-coollabs border-l-4 " @endif
7172 @disabled ($disabled ) @readonly ($readonly ) @required ($required ) id =" {{ $id } }"
72- name =" {{ $name } }" name ={{ $id } } ></textarea >
73+ name =" {{ $name } }" name ={{ $id } }
74+ @if ($autofocus ) x-ref =" autofocusInput" @endif ></textarea >
7375 @endif
7476 @endif
7577 @error ($id )
0 commit comments