Skip to content

Commit

Permalink
fix(components-vue): update proxies form control config (#407)
Browse files Browse the repository at this point in the history
* fix(components-vue): update proxy config

* fix(boilerplate-vue): import path

* style: format
  • Loading branch information
Arturo Castillo Delgado authored Jun 15, 2021
1 parent 49b14c0 commit acf7e22
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/boilerplate-vue/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<script>
import Vue from "vue";
import { ScaleButton } from "@telekom/scale-components-vue";
import { ScaleButton } from "@telekom/scale-components-vue-neutral";
export default Vue.extend({
name: "home",
Expand Down
20 changes: 18 additions & 2 deletions packages/components/framework-targets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,29 @@ import {

const vueComponentModels: ComponentModelConfig[] = [
{
elements: ['scale-input'],
elements: [
'scale-input',
'scale-text-field',
'scale-textarea',
'scale-dropdown',
'scale-switch',
],
event: 'scaleChange',
targetAttr: 'value',
},
// These do not work with the way the plugin "utils"'s wires events,
// and probably Vue doing something different for native input[type=checkbox|radio]
// {
// elements: [
// 'scale-checkbox',
// 'scale-radio-button'
// ],
// event: 'scaleChange',
// targetAttr: 'value',
// },
{
elements: ['scale-slider'],
event: 'scaleChange',
event: 'scaleInput',
targetAttr: 'value',
},
];
Expand Down

0 comments on commit acf7e22

Please sign in to comment.