$component ->getContainer() ->getComponent('dynamicForm') ->getChildComponentContainer() ->fill();
Grid::make('input') ->columns(1) ->schema(function (Get $get) use ($rules): array { if (!$get('class') || ($get('class') && !$rules->has($get('class')))) { return []; } return $rules[$get('class')]['instance']->form(); }) ->key('dynamicForm'),
Builder::make('form') ->blocks([ Block::make('values')->schema([ TextInput::make('percent') ->numeric() ->required() ->placeholder('20'), ]) ]) ->default([[ 'type' => 'values', 'data' => [ 'percent' => 1, ], ]]) ->maxItems(1) ->blockNumbers(false)