-
Notifications
You must be signed in to change notification settings - Fork 35
Closed
Labels
bugVerified bug by the Nova teamVerified bug by the Nova team
Description
- Laravel Version: 9.9.0
- Nova Version: 4.4.1
- PHP Version: 8.0
- Database Driver & Version: MySQL
- Operating System and Version: MacOS 11.6
- Browser type and version: Chrome 101.0.4951.54
Issue 1:
Having a field like:
Select::make('Merchant', 'merchant_id')
->options(Merchant::pluck('official_name', 'id'))
->displayUsingLabels()
->onlyOnForms()
->dependsOn(
['type'],
function ($field, $request, $formData) {
$field->hide();
}
),
It's still including the merchant_id
in the Body with a value.
Issue 2:
Having hidden field like:
Number::make('Amount')
->rules('required')
->dependsOn(
['type'],
function ($field, $request, $formData) {
$field->hide();
}
)
Those issues are new. That wasn't happening.
Metadata
Metadata
Assignees
Labels
bugVerified bug by the Nova teamVerified bug by the Nova team