Commit a05890ef authored by alexpott's avatar alexpott

Issue #2349425 by John.K, jturman, PieterJanPut, thomasth, jamadar, kulcsi:...

Issue #2349425 by John.K, jturman, PieterJanPut, thomasth, jamadar, kulcsi: JavaScript error on bottom left while editing a field
parent 2d714fbe
......@@ -146,6 +146,9 @@ public function buildForm(array $form, FormStateInterface $form_state, FieldConf
'visible' => array(
':input[name="field_storage[cardinality]"]' => array('value' => 'number'),
),
'disabled' => array(
':input[name="field_storage[cardinality]"]' => array('value' => -1),
),
),
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment