Releases: SFDigitalServices/formio-sfds
4.2.0: Runtime localization loading
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
v4.1.2: Merge pull request #31 from SFDigitalServices/file-uploads
4.1.1: Day (calendar) component fix, FontAwesome → our icons
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
4.0.1: Fix select box components appearing as radio buttons
#28 fixes "select boxes" components displaying checkbox inputs as radio buttons.