A component for get file
Simple example for GFile
<GFile />
config for global setting , set on nuxt.config
glorious:{
components:{
file:{
props:{
color:'green',
size:'md',
placeholder:'',
title:'file',
text:'No file has been selected',
required:false,
}
}
}
}
Prop | Type | Default |
---|---|---|
model value | any | |
color | orange | blue | gray | red | primary | primary |
size | xl | lg | md | sm | xs | md |
error | string | | |
placeholder | string | '' |
title | string | file |
text | string | No file has been selected |
required | boolean | false |