Skip to content

Commit

Permalink
rename field html5 to input
Browse files Browse the repository at this point in the history
  • Loading branch information
Lionel Bijaoui committed Sep 15, 2016
1 parent 5189b99 commit 323968e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/fields/fieldHtml5.vue → src/fields/fieldInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
</script>

<style lang="sass">
.vue-form-generator .field-html5 {
.vue-form-generator .field-input {
.wrapper {
width: 100%;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@ import { expect } from "chai";
import { createVueField, trigger, checkAttribute } from "../util";

import Vue from "vue";
import fieldHtml5 from "src/fields/fieldHtml5.vue";
import fieldInput from "src/fields/fieldInput.vue";

Vue.component("fieldHtml5", fieldHtml5);
Vue.component("fieldInput", fieldInput);

let el, vm, field;

function createField(test, schema = {}, model = null, disabled = false, options) {
[el, vm, field] = createVueField(test, "fieldHtml5", schema, model, disabled, options);
[el, vm, field] = createVueField(test, "fieldInput", schema, model, disabled, options);
}

describe("fieldHtml5.vue", function() {
describe("fieldInput.vue", function() {

describe("check template", () => {
let schema = {
type: "html5",
type: "input",
inputType: "text",
label: "Name",
model: "name",
Expand Down

0 comments on commit 323968e

Please sign in to comment.