Discover small updates making a big impact 🔍
View in browser

connected accounting

 
 
Silverfin Developer Community Newsletter
 
 

Hello, Technology Enthusiasts!

 

We hope everyone in the Northern Hemisphere has been enjoying the sunshine and summer months! ☀️

 

Looking back over the past month, there haven’t been many major changes to the templating language or updates to our documentation. But since we value all improvements, big or small, this feels like a great moment to shine a light 🔦 on some of the smaller updates that have quietly made a difference over the past year 🔍.

 

Stay tuned though, as there are some exciting updates ahead! 👏

 

With this in mind, sit back, relax and enjoy a fresh portion of good news from the Silverfin Developer Community.

 

In August's edition:

  • Continue tag ⏩
  • Reversed filter on arrays ◀️
  • Assign_option method for select inputs ✔️

 

blog-post-divider
 
 

Continue tag ⏩

The ‘continue’ tag is a helper tag for iterations. Where for instance the ‘break’ tag stops the iteration at a certain point (in order to avoid needless iterations and gain performance) the ‘continue’ tag allows to skip iterations in a collection.

Continue reading
 
 

 
 

Reversed filter on arrays ◀️

Not too much explanation is necessary for this one, the ‘reversed’ filter does what it promises, it reverses the order of the items in an array.

erom daeR
 
 

 
 

Assign_option method for select inputs ✔️

When creating an input ‘as:select’, we generally advise making use of the ‘option_values’ attribute, which makes sure the actual value of the selected option remains the same, even when the user changes languages.
However, there could be use-cases where we actually do want to use or print the selected option of the dropdown. Until recently, this might have proven to be quite cumbersome in Liquid since template authors needed to map the options to the option_values to return the correct result 🥲

Well, those days are over! The ‘assign_option’ attribute allows developers to create a variable returning the chosen ‘option’, instead of the corresponding ‘option_value’ 👏

Read more
 
 

Thank you for reading!

If you like this newsletter and want to support it please share this email.

 

Write to community@silverfin.com and let us know what you would like to read in the next Silverfin Community Newsletter.

 

Code better. Spam never.

Contact us
Silverfin,  White Collar Factory,  London,  EC1Y 8AF,  United Kingdom,  London

Silverfin, Zuiderpoort - Esplanade, Gaston Crommenlaan 12, 9050 Gent, Belgium

You received this email because you are subscribed to marketing notifications from Silverfin or we’ve received your email address from one of our data providers for the purposes of direct marketing and we are contacting you on the basis of legitimate interest. We believe that you can benefit from the information and complimentary resources shared.

Update your email preferences to choose the types of emails you receive.

Unsubscribe from all future emails.