@@ -144,7 +144,7 @@ discard block |
||
144 | 144 | // Need to know if the user prefers DMY/MDY/YMD so we can validate dates properly. |
145 | 145 | $dmy = $this->localization_service->dateFormatToOrder(I18N::dateFormat()); |
146 | 146 | |
147 | - $attributes += [ |
|
147 | + $attributes += [ |
|
148 | 148 | 'type' => 'text', |
149 | 149 | 'value' => $input['default'], |
150 | 150 | 'dir' => 'ltr', |
@@ -158,7 +158,7 @@ discard block |
||
158 | 158 | default: |
159 | 159 | switch ($input['type']) { |
160 | 160 | case 'text': |
161 | - $attributes += [ |
|
161 | + $attributes += [ |
|
162 | 162 | 'type' => 'text', |
163 | 163 | 'value' => $input['default'], |
164 | 164 | ]; |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | break; |
167 | 167 | |
168 | 168 | case 'checkbox': |
169 | - $attributes += [ |
|
169 | + $attributes += [ |
|
170 | 170 | 'type' => 'checkbox', |
171 | 171 | 'checked' => (bool) $input['default'], |
172 | 172 | ]; |