A component for enter text
Simple example for GSelect
<GInput placeholder="enter text"/>
config for global setting , set on nuxt.config
glorious:{
components:{
select:{
props:{
color:'green',
size:'md',
disabled:false,
required:false,
displayTextKey:'text',
keyOfValue:'value',
}
}
}
}
Prop | Type | Default |
---|---|---|
model value | any | |
size | xl | lg | md | sm | xs | |
color | orange | blue | gray | red | primary | primary |
placeholder | string | |
title | string | |
displayTextKey | string | text |
keyOfValue | string | value |
required | boolean | false |
error | string | | |
disable | boolean | false |
options | Array<object> | false |