adamwathan / bootforms

Rapid form generation with Bootstrap 3 and Laravel.
MIT License
417 stars 103 forks source link

VusJS custom attributes #129

Closed grafikkaos closed 7 years ago

grafikkaos commented 7 years ago

Is there a way of using VueJS custom attributes with BootForm?

Example of this on a form can be something like v-on:submit="xxxxxxx" or v-model="xxxxxxx"?

Thanks

adamwathan commented 7 years ago

There isn't currently but I'd look at a PR if one was submitted. I would probably never use the package in that way personally, as it's mostly intended for traditional server-side form stuff.

grafikkaos commented 7 years ago

No worries... I am quite happy with the way BootForm works at the moment. Will simply have to revert the the laravel collective for instances where Vue is going to be used.

Thanks 👍

jesseleite commented 7 years ago

@grafikkaos You can always ->attribute('v-on:keyup', 'someCall').