Table TextInput Conditionally Disabled

Hi I have a table in a Relation Manager, it has a textInputColumn (price) and textColumn (status). I would like the textInputColoum to be disabled based on the state of the textColumn (status). i.e. Status = validated, textInputColumn = Disabled. I couldn't see anything in the Docs re this, thanks in advance.
2 Replies
awcodes
awcodes10mo ago
TextInputColumn::make() ->disabled(fn($record) => $record->status === ‘whatever’)
MazeEzam
MazeEzamOP10mo ago
Awesome, thank you
Want results from more Discord servers?
Add your server