-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
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
Checked Option #6
Comments
hey, I wish if you shard some code and where are you using this but giving the following example you can set the values using Matrix::make('question')
->asCheckbox()
->formatStateUsing(fn()=>[
'sat'=>['one'=>true],
'sun'=>['two'=>true],
'mon'=>['three'=>true],
])
->columnData([
'one'=>'One Item',
'two'=>'Two Item',
'three'=>'Three Item',
])
->rowData([
'sat' => 'Saturday',
'sun' => 'Sunday',
'mon' => 'Monday',
]), |
if you have values without keys: ->formatStateUsing(fn()=>[
[0=>true],
[1=>true],
[2=>true],
])
->columnData([
'one',
'two',
'three',
])
->rowData([
'sat',
'sun',
'mon',
]) and you can always |
i will try with your feed back , Thanks Again <3 |
in this case you should try use key values to store the data is the labels not the values |
Thanks Dear, Regards |
Hello Dear ,
Thanks for your work ,
i need to know if i have old values and i need to make checked attribute for some input,
how i can make some of radio checked ? .
Regards
The text was updated successfully, but these errors were encountered: