jetformbuilder
/
assets
/
src
/
admin-vuex-package
/
components
/
TableColumns
/
input-control
/
InputControl.vue
jetformbuilder
/
assets
/
src
/
admin-vuex-package
/
components
/
TableColumns
/
input-control
Last commit date
InputControl.vue
2 years ago
index.js
2 years ago
InputControl.vue
21 lines
| 1 | <template> |
| 2 | <input :type="options.type" :value="value" @input="onInput"> |
| 3 | </template> |
| 4 | |
| 5 | <script> |
| 6 | |
| 7 | |
| 8 | export default { |
| 9 | name: "input--control", |
| 10 | props: [ 'value', 'options' ], |
| 11 | methods: { |
| 12 | onInput( { target: { value } } ) { |
| 13 | this.$emit( 'input', value ); |
| 14 | } |
| 15 | } |
| 16 | } |
| 17 | </script> |
| 18 | |
| 19 | <style> |
| 20 | |
| 21 | </style> |