Skip to content

Instantly share code, notes, and snippets.

@czosel
czosel / controllers.application.js
Last active November 15, 2022 11:02 — forked from g8anusha/controllers.application.js
ember-validated-form custom HTML
import Ember from 'ember';
import UserValidations from 'twiddle/validations/user';
export default Ember.Controller.extend({
UserValidations,
actions: {
submit(model) {
console.log('submit', model)
model.save()
import Ember from 'ember';
import UserValidations from 'twiddle/validations/user';
export default Ember.Controller.extend({
UserValidations,
actions: {
submit(model) {
console.log('submit', model)
model.save()