Closed DSpeichert closed 1 year ago
Currently, we do not support DataAwareRule in forms - because we have $get()
instead, which can be used to contextually fetch data from other fields in a much more intuitive way.
https://filamentphp.com/docs/3.x/forms/validation#custom-rules
Package
filament/filament
Package Version
v3.0.76
Laravel Version
v10.28.0
Livewire Version
v3.0.8
PHP Version
PHP 8.1.2-1ubuntu2.14 (cli) (built: Aug 18 2023 11:41:11) (NTS)
Problem description
data
keydata
key is missing entirely in relationship manager formExpected behavior
All form fields should be available as provided to validator as when called like this:
Steps to reproduce
Reproduction repository
https://github.com/DSpeichert/repro-data-aware-rule
Relevant log output
In relationship manager's form the
data
key is missing in the data passed to DataAware Rule: