Files
mixtape/zero.Web.UI/App/editor/fields/link.vue
T

43 lines
745 B
Vue
Raw Normal View History

2021-01-29 17:01:32 +01:00
<!--<template>
2021-01-29 13:07:04 +01:00
<input :value="url" @input="onChange($event.target.value)" type="text" class="ui-input" :disabled="disabled" />
</template>
<script>
export default {
props: {
value: {
type: Object,
default: {
providerAlias: null,
target: 'default',
urlSuffix: null,
label: null,
title: null,
values: {
url: null
}
}
},
disabled: {
type: Boolean,
default: false
}
},
data: () => ({
url: null
}),
methods: {
onChange(value)
{
this.$emit('input', {
values: {
url: value
}
});
}
}
}
2021-01-29 17:01:32 +01:00
</script>-->