- Small bugfixes within value comparison for UiInput and small bugfixe in select repairing broken options.

This commit is contained in:
Dave Mc Nicoll committed 2020-05-20 15:32:41 -04:00
1 parent b4fc4dd37f
commit 69c7121981
4 files changed
+14 -9

No files matched your search

+2 -2
View File
@@ -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"
];