Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

put angular tag in form input value #67

Closed
infacq opened this issue Aug 3, 2015 · 2 comments
Closed

put angular tag in form input value #67

infacq opened this issue Aug 3, 2015 · 2 comments

Comments

@infacq
Copy link

infacq commented Aug 3, 2015

{!! Form::hidden($param->ip_id, @{{ angularModel }}) !!}

this will not work. How do I do that for Angular?

@tshafer
Copy link
Contributor

tshafer commented Aug 20, 2015

Try this,

Change the angular tags.
https://scotch.io/quick-tips/quick-tip-using-laravel-blade-with-angularjs

Then wrap it in quotes

{!! Form::hidden($param->ip_id, '<% angularModel %>') !!}

@arthurkirkosa
Copy link

or simply create an raw html input tag and use the old helper if you need the flashed value.

@tshafer tshafer closed this as completed Aug 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants