We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0df7d14 commit cdae06cCopy full SHA for cdae06c
vendor/modstart/modstart/views/core/field/switchField-grid.blade.php
@@ -1,4 +1,4 @@
1
-@if($gridEditable)
+@if(!empty($gridEditable))
2
<div>
3
<input type="checkbox" value="1" name="{{$name}}_{{$_index}}" lay-skin="switch"
4
lay-filter="{{$name}}_{{$_index}}"
vendor/modstart/modstart/views/core/field/type-grid.blade.php
@@ -1,5 +1,5 @@
<?php $valueLabel = isset($valueMap[$value])?$valueMap[$value]:$value; ?>
<select lay-ignore data-type="{{$name}}_{{$_index}}" class="form-sm {{isset($colorMap[$value])?$colorMap[$value]:'default'}}">
@foreach($valueMap as $k=>$v)
5
<option value="{{$k}}" @if($value==$k) selected @endif>
0 commit comments