mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Merge branch 'pr/429' into develop
This commit is contained in:
@@ -120,6 +120,10 @@
|
||||
})
|
||||
|
||||
$watch('value', () => {
|
||||
if (! value) {
|
||||
pond.removeFiles()
|
||||
}
|
||||
|
||||
@this.getUploadedFileUrl(name, disk).then((uploadedFileUrl) => {
|
||||
if (uploadedFileUrl) {
|
||||
pond.files = [{
|
||||
|
||||
@@ -130,6 +130,8 @@
|
||||
this.$watch('value', () => {
|
||||
if (this.value in this.options) {
|
||||
this.displayValue = this.options[this.value]
|
||||
} else if (! this.value) {
|
||||
this.clearValue()
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user