diff --git a/views/partials/form/_input.blade.php b/views/partials/form/_input.blade.php index 77b6ade1a..b45c150f7 100644 --- a/views/partials/form/_input.blade.php +++ b/views/partials/form/_input.blade.php @@ -8,6 +8,7 @@ @if ($required) required: true, @endif @if ($note) note: '{{ $note }}', @endif @if ($placeholder) placeholder: '{{ addslashes($placeholder) }}', @endif + @if ($direction) direction: '{{ $direction }}', @endif @if ($maxlength) maxlength: {{ $maxlength }}, @endif @if ($disabled) disabled: true, @endif @if ($readOnly) readonly: true, @endif @@ -35,6 +36,7 @@ @if ($required) :required="true" @endif @if ($note) note="{{ $note }}" @endif @if ($placeholder) placeholder="{{ $placeholder }}" @endif + @if ($direction) direction="{{ $direction }}" @endif @if ($maxlength) :maxlength="{{ $maxlength }}" @endif @if ($disabled) disabled @endif @if ($readOnly) readonly @endif diff --git a/views/partials/form/_wysiwyg.blade.php b/views/partials/form/_wysiwyg.blade.php index 067e9d74f..378b7fe3a 100644 --- a/views/partials/form/_wysiwyg.blade.php +++ b/views/partials/form/_wysiwyg.blade.php @@ -15,6 +15,7 @@ @if ($required) required: true, @endif @if ($options) options: {!! e(json_encode($options)) !!}, @endif @if ($placeholder) placeholder: '{{ addslashes($placeholder) }}', @endif + @if ($direction) direction: '{{ $direction }}', @endif @if ($maxlength) maxlength: {{ $maxlength }}, @endif @if ($hideCounter) showCounter: false, @endif @if ($disabled) disabled: true, @endif @@ -38,6 +39,7 @@ @if ($required) :required="true" @endif @if ($options) :options='{!! json_encode($options) !!}' @endif @if ($placeholder) placeholder='{{ $placeholder }}' @endif + @if ($direction) direction="{{ $direction }}" @endif @if ($maxlength) :maxlength='{{ $maxlength }}' @endif @if ($hideCounter) :showCounter='false' @endif @if ($disabled) disabled @endif @@ -64,6 +66,7 @@ @if ($required) required: true, @endif @if ($options) options: {!! e(json_encode($options)) !!}, @endif @if ($placeholder) placeholder: '{{ addslashes($placeholder) }}', @endif + @if ($direction) direction: '{{ $direction }}', @endif @if ($maxlength) maxlength: {{ $maxlength }}, @endif @if ($hideCounter) showCounter: false, @endif @if ($disabled) disabled: true, @endif @@ -86,6 +89,7 @@ @if ($required) :required="true" @endif @if ($options) :options='{!! json_encode($options) !!}' @endif @if ($placeholder) placeholder='{{ $placeholder }}' @endif + @if ($direction) direction="{{ $direction }}" @endif @if ($maxlength) :maxlength='{{ $maxlength }}' @endif @if ($hideCounter) :showCounter='false' @endif @if ($disabled) disabled @endif