mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
fix: Background prop in FormControl
This commit is contained in:
parent
b0640930cf
commit
f52ee12e66
@ -27,7 +27,8 @@ export default {
|
||||
'placeholder',
|
||||
'size',
|
||||
'showLabel',
|
||||
'readOnly'
|
||||
'readOnly',
|
||||
'background'
|
||||
],
|
||||
inject: {
|
||||
doctype: {
|
||||
@ -49,7 +50,8 @@ export default {
|
||||
this.inputClass,
|
||||
{
|
||||
'px-3 py-2': this.size !== 'small',
|
||||
'px-2 py-1': this.size === 'small'
|
||||
'px-2 py-1': this.size === 'small',
|
||||
'bg-gray-100': this.background
|
||||
},
|
||||
'focus:outline-none focus:bg-gray-200 rounded-5px w-full text-gray-900'
|
||||
];
|
||||
|
@ -9,8 +9,8 @@
|
||||
<div class="mt-6 flex text-base px-8" v-if="report.filterFields">
|
||||
<div class="ml-3 first:ml-0 w-32" v-for="df in report.filterFields">
|
||||
<FormControl
|
||||
input-class="bg-gray-100"
|
||||
size="small"
|
||||
:background="true"
|
||||
:df="df"
|
||||
:value="filters[df.fieldname]"
|
||||
@change="value => onFilterChange(df, value)"
|
||||
|
Loading…
Reference in New Issue
Block a user