My app is a client on Angular 2 + Rails API and I would like to know how to save multiple checkbox values to a database.
For example, I have a form on html, in this form there are a bunch of checkboxes, the values of which I want to persist to a database. How do I go about handling this scenario?
I know how to do it using Rails templates, but have no idea how to implement it in Angular 2.
Thank you in advance.
Aucun commentaire:
Enregistrer un commentaire