mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
minor
This commit is contained in:
parent
2bf226f4c3
commit
80295d9f2a
@ -418,3 +418,7 @@ input[type=file] {
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.was-validated input[type=file]:invalid + button {
|
||||
border-color: $red;
|
||||
}
|
||||
|
@ -7,6 +7,7 @@ class FileControl extends BaseControl {
|
||||
this.fileButton = frappe.ui.create('button', {
|
||||
className: 'btn btn-outline-secondary btn-block',
|
||||
inside: this.getInputParent(),
|
||||
type: 'button',
|
||||
textContent: 'Choose a file...',
|
||||
onclick: () => {
|
||||
this.input.click();
|
||||
|
Loading…
Reference in New Issue
Block a user