schema([ TextInput::make('discount_rate') ->label('Discount Rate') ->hiddenLabel() ->live() ->rate(computation: static fn (Get $get) => $get('discount_computation'), showAffix: false), Select::make('discount_computation') ->label('Discount Computation') ->hiddenLabel() ->options([ 'percentage' => '%', 'fixed' => '$', ]) ->default(AdjustmentComputation::Percentage) ->selectablePlaceholder(false) ->live(), ]); } }