Triumph-Tech / Triumph-Helix

A repo that allows for reporting issues related to Helix.
https://helix.triumph.tech
5 stars 0 forks source link

Dropdown Shortcode longlistenabled Doesn't Work from Endpoints #7

Open zackdutra opened 3 hours ago

zackdutra commented 3 hours ago

Description

A dropdown shortcode with longlistenabled works when added directly to a page, but not when loaded from a lava endpoint.

Actual Behavior

A dropdown shortcode with longlistenabled works when added directly to a page, but not when loaded from a lava endpoint.

Expected Behavior

The longlistenabled option should be functioning in both contexts.

Steps to Reproduce


{[ dropdown label:'Favorite Number' name:'favorite-number' longlistenabled:'true' isrequired:'true' value:'2' ]} [[ item value:'1' text:'One' ]][[ enditem]] [[ item value:'2' text:'Two' ]][[ enditem]] [[ item value:'3' text:'Three' ]][[ enditem]] {[ enddropdown ]}



- Save the code, reload the page, and note that there are two dropdowns rendered, but the one from the endpoint doesn't have a long list search bar. 

![image](https://github.com/user-attachments/assets/c8aeac75-168f-427f-a838-fea454c1268f)
![image](https://github.com/user-attachments/assets/f70a0dda-eed2-43d4-8afb-58bdb9d2c60b)

### Issue Confirmation

- [X] Perform a search on the [Github Issues](https://github.com/issues?q=is%3Aissue+user%3ASparkDevNetwork+-repo%3ARock) to see if your bug or enhancement is already reported.
- [X] Try to reproduce the problem on a fresh install or on the [demo site](https://rock.rocksolidchurchdemo.com/).

### Rock Version

16.6
zackdutra commented 3 hours ago

Also not sure why this is the case, but the color changes on the select options.