Skip to content

Releases: SFDigitalServices/formio-sfds

4.2.0: Runtime localization loading

07 May 22:20
f09ae28
Compare
Choose a tag to compare

This release introduces the ability to load localizations (translations) for form content at runtime, which will eventually allow us to remove the translation fetching scripts from this repo. This is done with an overloaded i18n form option:

Formio.createForm(element, resource, {
  i18n: 'https://i18n-microservice-js.herokuapp.com/google/1LskBlygRBIrHEbEiAVres9SBN6E41_Ey7qLo8f6g2m8/1.0.0'
})

If options.i18n is a string, the theme assumes it's a URL and fetches localizations from it before passing the localized strings to the underlying Formio.createForm(). We're using the i18n-microservice in this example to translate a Google Spreadsheet into the object format expected by i18next, form.io's localization layer of choice.

4.1.3: Checkbox appearance fix

07 May 22:22
83761f5
Compare
Choose a tag to compare

This patch release includes @hshaosf's fix for checkbox checked states in #33.

v4.1.2: Merge pull request #31 from SFDigitalServices/file-uploads

07 May 22:26
658c2b5
Compare
Choose a tag to compare

This patch release includes revamped multi-file upload table styles (at the direction of @nlsfds in #31), and a new "kitchen sink" page that we can use to start testing styles and custom components.

4.1.1: Day (calendar) component fix, FontAwesome → our icons

07 May 22:28
edcc9b2
Compare
Choose a tag to compare

This release includes #30, which fixes the appearance of "day" (date picker) components, and adds a patch to replace FontAwesome icons generated by form.io's JavaScript with corresponding icons from our own system.

4.1.0: Address component, field prefix and suffix styles

07 May 22:31
28c4e26
Compare
Choose a tag to compare

#29 introduces a new, custom Address component that replaces the single-field Google Maps autocomplete "widget" with a set of text fields and dropdowns that more closely match @nlsfds's designs.

It also adds CSS to support form.io's text field prefix and suffix properties.

4.0.1: Fix select box components appearing as radio buttons

07 May 22:32
b314172
Compare
Choose a tag to compare

#28 fixes "select boxes" components displaying checkbox inputs as radio buttons.