AlchemyCMS / alchemy_cms

Alchemy is the Open Source Rails CMS framework for the component based web that can be used as classic server side rendered or headless CMS.
https://www.alchemy-cms.com
BSD 3-Clause "New" or "Revised" License
817 stars 312 forks source link

Only set url on attachment select if attachment found #2882

Closed tvdeyen closed 1 month ago

tvdeyen commented 1 month ago

What is this pull request for?

If we set the URL select2 will try to set the value but cannot find it but will hide the placeholder.

Checklist

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.94%. Comparing base (c423ef0) to head (b477c1a). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2882 +/- ## ======================================= Coverage 95.94% 95.94% ======================================= Files 230 230 Lines 6260 6260 ======================================= Hits 6006 6006 Misses 254 254 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.