Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Cronix's avatar

I have no idea what any of that is or why it would be in the request.

I also don't know what all of this is in your html

<div class="col-sm-16">
      <input type="text" class="form-control" name="name"  [(ngModel)]="model.name_ipm" #name="ngModel">
    </div>
    <div *ngIf="name.errors && (name.dirty || name.touched)" class="alert alert-danger">
      <div [hidden]="!name.Errors.required">
        <span class="glyphicon glyphicon-exclamation-sign"></span>&nbsp;Name is Required
      </div>
    </div>

what is this stuff?

[(ngModel)]
*ngIf=
[hidden]=
1 like
TOUTOU's avatar

this is an angular 4 front end

Cronix's avatar

Ok, I haven't used it so I can't really help any further. It makes no sense to me that what you posted is the output of dd($request->all()). However you are submitting the form (which I see lots of inputs not with an actual <form>) is not working properly.

You should only be seeing the input names/values in the $request when you dd() it like a normal form submission.

like

[
    'name' => 'the name you entered',
    'reference' => 'the reference entered',
    'latitude' => 'latitude entered',
    'longitude' => 'longitude entered'
]

etc

1 like
TOUTOU's avatar

not a problem thank you for your time and your help :)

Cronix's avatar

I don't know why that is the "solution" lol. Good luck ;)

1 like
TOUTOU's avatar

@Cronix i have another add function and they work and the outpout like this it seem be a json stringify problem

TOUTOU's avatar

i don't mean to put this as solution sorry

rin4ik's avatar

@TOUTOU no problems here. you can leave it as solution I won't be offended . lol

TOUTOU's avatar

how i can change it i click again but i does not change

Previous

Please or to participate in this conversation.