Page MenuHomePhabricator

hide-if and flatlist do not cooperate well
Open, Needs TriagePublic


In and I want to make use of hide-if setting to conditional show/hide some form elements.

The element to be hidden (highlighted in the screenshots) is 'type' => 'radio' with 'flatlist' => true. The screenshots show that the look is different with and without hide-if (if it's used, flatlist is ignored).

without hide-ifwith hide-if

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 6 2018, 7:15 PM
Daimona added a comment.EditedApr 12 2018, 8:49 AM

I investigated a bit. The problem comes from the infusion performed here. In fact, as the element is infused it loses the flatlist property. I still have to determine the specific reason, though.