Skip to content

Add database fields error key with not en locale #44

@pavelmgn

Description

@pavelmgn

image

Hi, locale ru ~dev-main

Winter\Builder\Behaviors\IndexModelFormOperations:221

$fieldTypes = array_merge(array_keys($controls['Standard']), array_keys($controls['Widgets']));

Standard and Widgets keys apparently taken from lang file

image

I'm not sure but this might work

$standardKey = \Illuminate\Support\Facades\Lang::get('winter.builder::lang.form.control_group_standard');
$widgetKey = \Illuminate\Support\Facades\Lang::get('winter.builder::lang.form.control_group_widgets');
$fieldTypes = array_merge(array_keys($controls[$standardKey]), array_keys($controls[$widgetKey]));

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions