Skip to content

Commit 323968e

Browse files
author
Lionel Bijaoui
committed
rename field html5 to input
1 parent 5189b99 commit 323968e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/fields/fieldHtml5.vue renamed to src/fields/fieldInput.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
</script>
4444

4545
<style lang="sass">
46-
.vue-form-generator .field-html5 {
46+
.vue-form-generator .field-input {
4747
.wrapper {
4848
width: 100%;
4949
}

test/unit/specs/fields/fieldHtml5.spec.js renamed to test/unit/specs/fields/fieldInput.spec.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@ import { expect } from "chai";
22
import { createVueField, trigger, checkAttribute } from "../util";
33

44
import Vue from "vue";
5-
import fieldHtml5 from "src/fields/fieldHtml5.vue";
5+
import fieldInput from "src/fields/fieldInput.vue";
66

7-
Vue.component("fieldHtml5", fieldHtml5);
7+
Vue.component("fieldInput", fieldInput);
88

99
let el, vm, field;
1010

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

15-
describe("fieldHtml5.vue", function() {
15+
describe("fieldInput.vue", function() {
1616

1717
describe("check template", () => {
1818
let schema = {
19-
type: "html5",
19+
type: "input",
2020
inputType: "text",
2121
label: "Name",
2222
model: "name",

0 commit comments

Comments
 (0)