wnukolo
wnukolo

Reputation: 13

How to pass input text with commas through laravel form?

I would like to pass string input with commas through laravel form text field. You can provide multiple numbers separated by commas, the application will handle imploding into array.

The issue is that laravel (or web browser) by default will change comma to '%2C'. I know it's a safety feature, but this is not too big concern in case of this application.

Is there a way to disable this?

Already tried to use {!! !!} instead of standard {{ }}

{{ Form::text('number', null) }}

Upvotes: 1

Views: 594

Answers (1)

Saurabh Bhatewara
Saurabh Bhatewara

Reputation: 110

Try using POST method in form tag instead of GET method. It will not show field value in URL.

Upvotes: 1

Related Questions