primevue-mirror/components/lib/inputtext/BaseInputText.vue

31 lines
603 B
Vue
Raw Normal View History

2023-05-24 11:23:36 +00:00
<script>
import BaseComponent from 'primevue/basecomponent';
import InputTextStyle from 'primevue/inputtext/style';
2023-05-24 11:23:36 +00:00
export default {
name: 'BaseInputText',
extends: BaseComponent,
props: {
2023-07-04 09:28:31 +00:00
modelValue: null,
size: {
type: String,
default: null
},
invalid: {
type: Boolean,
default: false
2024-01-31 08:02:53 +00:00
},
variant: {
type: String,
default: null
2023-07-04 09:28:31 +00:00
}
2023-05-24 11:23:36 +00:00
},
style: InputTextStyle,
provide() {
return {
$parentInstance: this
};
2023-05-24 11:23:36 +00:00
}
};
</script>