We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to set the default values but somehow it doesn't work:
` Matrix::make('protein_consumption') ->formatStateUsing(fn() => [ 'red_meat' => ['0' => true], 'white_meat' => ['0' => true], 'fish' => ['0' => true], 'eggs' => ['0' => true], 'offal' => ['0' => true], 'deli_meats' => ['0' => true],
]) ->label('Protéines') ->asRadio() ->columnData([ '0' => '0', '1-2' => '1-2', '3-4' => '3-4', '5-6' => '5-6', '7+' => '7+' ]) ->rowData([ 'red_meat' => 'Viande rouge', 'white_meat' => 'Viande blanche', 'fish' => 'Poisson', 'eggs' => 'Œufs', 'offal' => 'Abats', 'deli_meats' => 'Charcuterie', ]),
`
what am I doing wrong here ?
The text was updated successfully, but these errors were encountered:
sorry for the delay.
can you check if this works #6 (comment)
Sorry, something went wrong.
No branches or pull requests
Trying to set the default values but somehow it doesn't work:
`
Matrix::make('protein_consumption')
->formatStateUsing(fn() => [
'red_meat' => ['0' => true],
'white_meat' => ['0' => true],
'fish' => ['0' => true],
'eggs' => ['0' => true],
'offal' => ['0' => true],
'deli_meats' => ['0' => true],
`
what am I doing wrong here ?
The text was updated successfully, but these errors were encountered: