PHP code example of suleymanozev / filament-radio-button-field
1. Go to this page and download the library: Download suleymanozev/filament-radio-button-field library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
suleymanozev / filament-radio-button-field example snippets
RadioButton::make('amount')
->label('Example Label')
->options(['1' => 'Example Option Label', '2' => 'Example Option Label 2'])
->descriptions(['1' => 'Example Description', '2' => 'Example Description 2'])
->columns(3),
javascript
module.exports = {
content: [
"./resources/**/*.blade.php",
"./vendor/suleymanozev/**/*.blade.php", // Add this line
],
theme: {
extend: {},
},
plugins: [],
}
bash
php artisan vendor:publish --tag="filament-radio-button-field-views"