allow empty selection for tax form group component
This commit is contained in:
parent
3b1f8c93ff
commit
32dc5b2913
@ -47,7 +47,7 @@ class Tax extends Form
|
||||
}
|
||||
}
|
||||
|
||||
if (empty($this->selected)) {
|
||||
if (empty($this->selected) && empty($this->getParentData('model'))) {
|
||||
$this->selected = setting('default.tax');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user