I'm having a trouble with UIComponent. Being precise it's a checkbox.
I'm sure it takes true as a value, but it doesn't appear as a checked one.
So it's propably something wrong with my structure.
'is_active' => [
'arguments' => [
'data' => [
'config' => [
'label' => __('Active'),
'dataType' => 'boolean',
'formElement' => 'checkbox',
'componentType' => 'field',
'sortOrder' => 10,
'dataScope' => 'is_active',
'prefer' => 'toggle',
'valueMap' => [
'false' => 0,
'true' => 1
],
'visible' => 1,
]
]
]
],