Fix for showing no_lang_tag attrs (which are displayed without values) on a lang_tag attr pane when viewing a DN

This commit is contained in:
2025-04-08 14:29:21 +10:00
parent 6b2fb8dee4
commit 2abc321eca
3 changed files with 14 additions and 11 deletions

View File

@@ -95,8 +95,10 @@ class HomeController extends Controller
? view(sprintf('components.attribute.widget.%s',$id))
->with('o',Factory::create($dn,$id,[],$request->objectclasses))
->with('value',$request->value)
->with('langtag',Entry::TAG_NOTAG)
->with('loop',$xx)
: new AttributeType(Factory::create($dn,$id,[],$request->objectclasses),TRUE)->render();
: new AttributeType(Factory::create($dn,$id,[],$request->objectclasses),TRUE)
->render();
}
public function entry_create(EntryAddRequest $request): \Illuminate\Http\RedirectResponse