- Small bugfixes within value comparison for UiInput and small bugfixe in select repairing broken options.
This commit is contained in:
1 parent
b4fc4dd37f
commit
69c7121981
4 files changed
+14
-9
No files matched your search
@@ -12,8 +12,8 @@ class UiRadio extends UiInput {
|
||||
];
|
||||
|
||||
protected function objectAttribute() : array
|
||||
{
|
||||
if ( $this->options['value'] ?? false && ( $this->options['value'] === $this->value ) ) {
|
||||
{
|
||||
if ( ( $this->options['value'] ?? false ) && ( $this->options['value'] === $this->value ) ) {
|
||||
return [
|
||||
'checked' => "checked"
|
||||
];
|
||||
|
||||
Reference in new issue
Block a user