parent
18d6639aa8
commit
901bb99dbd
|
@ -19,10 +19,6 @@ export default {
|
||||||
type: [String, Object],
|
type: [String, Object],
|
||||||
default: null
|
default: null
|
||||||
},
|
},
|
||||||
type: {
|
|
||||||
type: String,
|
|
||||||
default: null
|
|
||||||
},
|
|
||||||
mask: {
|
mask: {
|
||||||
type: String,
|
type: String,
|
||||||
default: null
|
default: null
|
||||||
|
|
|
@ -124,11 +124,6 @@ export interface InputMaskProps {
|
||||||
* Style class of the input field.
|
* Style class of the input field.
|
||||||
*/
|
*/
|
||||||
class?: string | object | undefined;
|
class?: string | object | undefined;
|
||||||
/**
|
|
||||||
* Type of the input field.
|
|
||||||
* @defaultValue null
|
|
||||||
*/
|
|
||||||
type?: string | undefined;
|
|
||||||
/**
|
/**
|
||||||
* Placeholder text for the input.
|
* Placeholder text for the input.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
<InputText
|
<InputText
|
||||||
:id="id"
|
:id="id"
|
||||||
:value="currentVal"
|
:value="currentVal"
|
||||||
:type="type"
|
|
||||||
:class="inputClass"
|
:class="inputClass"
|
||||||
:readonly="readonly"
|
:readonly="readonly"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
|
|
|
@ -7,10 +7,6 @@ export default {
|
||||||
extends: BaseComponent,
|
extends: BaseComponent,
|
||||||
props: {
|
props: {
|
||||||
modelValue: null,
|
modelValue: null,
|
||||||
type: {
|
|
||||||
type: String,
|
|
||||||
default: 'text'
|
|
||||||
},
|
|
||||||
size: {
|
size: {
|
||||||
type: String,
|
type: String,
|
||||||
default: null
|
default: null
|
||||||
|
|
|
@ -87,11 +87,6 @@ export interface InputTextProps extends InputHTMLAttributes {
|
||||||
* Value of the component.
|
* Value of the component.
|
||||||
*/
|
*/
|
||||||
modelValue?: Nullable<string>;
|
modelValue?: Nullable<string>;
|
||||||
/**
|
|
||||||
* Type of the input field.
|
|
||||||
* @defaultValue text
|
|
||||||
*/
|
|
||||||
type?: string | undefined;
|
|
||||||
/**
|
/**
|
||||||
* Defines the size of the component.
|
* Defines the size of the component.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<input :type="type" :class="cx('root')" :value="modelValue" :aria-invalid="invalid || undefined" @input="onInput" v-bind="getPTOptions('root')" />
|
<input type="text" :class="cx('root')" :value="modelValue" :aria-invalid="invalid || undefined" @input="onInput" v-bind="getPTOptions('root')" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
Loading…
Reference in New Issue