access filter data from table action or bulk action

In a table i'm creating a bulk action with modal forms, I need to get a value from the table filter (such as from a value from a select filter) to create the modal form. How do I access these table filter values from bulk action form?
Solution
Thank you, finally got it working with the following bulk action with custom form , getting the filter value and putting it inside a hidden field, then the other field which requires it using $get method:
BulkAction::make('MyAction')
->mountUsing( function(Forms\ComponentContainer $form, Table $table){
  $form->fill([
    'myHiddenField' => $table->getFilter('MyFilterName')->getState()['value'],
   ]);
})
->form([
  Forms\Components\Hidden::make('myHiddenField'),
  Forms\Components\Select::make('anotherField')
   ->options(function (Get $get) {
           // we can use $get('myHiddenField') here
    })
])
...
Was this page helpful?