Skip to content

Commit 29c460f

Browse files
committed
Ensure our validation message is shown when not selecting an objectclass when creating a new entry
1 parent 3196b10 commit 29c460f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

resources/views/frames/create.blade.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
@endsection
1111

1212
@section('main-content')
13-
<x-error/>
14-
1513
<div class="row">
1614
<div class="offset-1 col-10">
1715
<div class="main-card mb-3 card">
@@ -34,6 +32,7 @@
3432
<x-form.select
3533
id="objectclass"
3634
name="objectclass[{{ Entry::TAG_NOTAG }}][]"
35+
old="objectclass.{{ Entry::TAG_NOTAG }}"
3736
:label="__('Select a Structural ObjectClass...')"
3837
:options="($oc=$server->schema('objectclasses'))
3938
->filter(fn($item)=>$item->isStructural())

0 commit comments

Comments
 (0)