All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- resetting recaptcha form elements after submission causing autosave data to be saved again
- bold text in info elements not readable in tool tips
- Comprehensive validation errors toast
FormElementFile
open files in a new tab
- Tooltip
a
tags to be white in colour, and slightly grey when already visited - Evaluate predicates and disable form submission based on
enableSubmission
form property
- Prohibited user input directly through text field on the Date element
- support for invisible ReCAPTCHA
- support for WCAG 1.3.1 - Info and Relationships
autocompleteAttributes
to input, options and date based elements- support for WCAG 4.1.3 - Status Messages
- dropdown styling to wrap text instead of being horizontally scrollable
- update @oneblink/sdk-core to 7.3.0-beta.2 (from 7.1.0-beta.1)
onSuccess
andonError
options touseSignUp
hook
- update @oneblink/sdk-core to 7.1.0-beta.1 (from 7.0.0-beta.1)
- Retry Lookup button for automatic lookup elements
isHidden
functionality to form elements- processPendingQueue on
EDIT_CANCELLED
pending queue event
- update @oneblink/sdk-core to 7.0.0-beta.1 (from 6.3.1-beta.1)
- onBlur validation for
boolean
,camera
,checkboxes
,files
,location
andradio
elements - elements with options allowing empty strings
- threeDS2 in quickstream trusted frame
- update @oneblink/sdk-core to 6.3.1-beta.1 (from 6.3.0-beta.2)
- bottom collapse button to sections
aria-describedby
forRadio
elements
useLoadDataEffect()
hook
- Westpac QuickWeb
- update @oneblink/sdk-core to 6.3.0-beta.2 (from 6.2.0-beta.5)
- accessibility attributes for checkbox and radio labels
- auto save occurring while form is disabled
- injected options referenced from another page not being injected into HTML
- ArcGIS web map layer panel showing if map is loaded on another page
- reverse geocode not supporting sections
<FormElementGoogleAddress />
useGoogleJsApiLoader()
hook
- blur activeElement after switching pages
- update @oneblink/sdk-core to 6.2.0-beta.5 (from 6.1.0-beta.2)
useDrafts()
hook to cater for versions
- ArcGIS web map layer panel showing on other pages
- optional
formsAppId
parameter touseLogin
hook for the forgot password flow ROUND_UP
andROUND_DOWN
commands to calculation elements
<ReverseGeocode />
- update @oneblink/sdk-core to 6.1.0-beta.2 (from 6.0.1-beta.2)
- No longer auto focusing first element on the first page of a form
- No longer fetch dyamic options in read only forms if element contains options
- table cells using wrong date formats
requiredAll
options validation when options are hidden- date format across timezones in data manager
- recaptcha elements not resetting after a submission
- update @arcgis/core to 4.29.10 (from 4.28.10)
- tooltip hint not displaying on hover by changing back
MaterialIcon
to ani
tag
- Screen reader support for hints
- Alt text to be hidden for decorative images
- screen readers reading icon names aloud when used as decorative images by setting
aria-hidden
attribute
location
form element to support selecting a position as well as dragging a pin to a position- Changed placeholder text colour and styled to italics
-
no longer depend upon @mui/icons-material
-
update @oneblink/sdk-core to 6.0.1-beta.2 (from 6.0.0-beta.3)
- support for injectable option
label
andvalue
- build tool chunking examples to docs
- loading spinner to ArcGIS Web Map element
- bulma icon styles
- update @oneblink/sdk-core to 6.0.0-beta.3 (from 5.4.0)
- Injectable options logic
- portal to
CopyToClipboardIconButton
snackbar
- update @oneblink/sdk-core to 5.4.0 (from 5.3.0-beta.1)
- ArcGIS Web Map element
- depend upon @arcgis/core 4.28.10
- Some @media queries to @container queries to account for the preview in the console.
- repeatable set elements not being treated as readonly inside the
<OneBlinkReadOnlyForm />
component
-
update @emotion/react to 11.11.3 (from 11.11.1)
-
update @mui/icons-material to 5.15.6 (from 5.14.16)
-
update bulma-toast to 2.4.3 (from 2.4.1)
- DateTime element not showing validation message
- Modal component to use MUI Modal component for handling focus
<PaymentForm />
component
- update @oneblink/sdk-core to 5.3.0-beta.1 (from 5.2.0-beta.2)
- All instances of
disableRipple
on MUI components. This prop was responsible for disabling visual feedback when focusing an element
- API NSW Liquor Licence Element
- Section element header to tabindex
- Focusing of first element on a page when Next button is focused and used to nav forwards
role
attribute to<DropdownMenu />
component for accessibilityalt
attribute to file image previews for accessibilityfocus-visible
for buttons and number slider to make tabbing more prominent
- update @oneblink/sdk-core to 5.2.0-beta.2 (from 5.1.0-beta.3)
- forms app accessibility contrast issues
- optional prop
label
touseFlatpickr
RadioGroup
to place radio buttons in groups for accessibility tabbingaria-label
for failure lookup close button
onUploadAttachment
has been added as an optional prop toOneBlinkForms
continueWithAutosave
automatic autosave population inOneBlinkAutoSaveForm
- NodeJS to version 20
- NPM to version 10
- Switch Camera button from barcode scanner
-
update @emotion/react to 11.11.1 (from 11.10.6)
-
update @emotion/styled to 11.11.0 (from 11.10.6)
-
update @mui/icons-material to 5.14.16 (from 5.11.11)
-
update @oneblink/sdk-core to 5.1.0-beta.3 (from 5.0.0-beta.2)
-
update @react-google-maps/api to 2.19.2 (from 2.18.1)
-
no longer depend upon jsqr
-
no longer depend upon quagga
-
update query-string to 8.1.0 (from 7.1.1)
-
update react-google-recaptcha to 3.1.0 (from 2.1.0)
-
update sanitize-html to 2.11.0 (from 2.10.0)
-
update xml2js to 0.6.2 (from 0.5.0)
-
depend upon html5-qrcode 2.3.8
task
,taskGroup
andtaskGroupInstance
props to<OneBlinkForm />
- excluding definition conditionally to dynamic lookup calls
- Use lookup button label for required validation message if configured
- 'Lookup is Required' message showing while lookup is running
- update @oneblink/sdk-core to 5.0.0-beta.2 (from 4.2.0-beta.1)
- calculations on dates
-
update @oneblink/sdk-core to 4.2.0-beta.1 (from 4.0.0-beta.1)
-
update xml2js to 0.5.0 (from 0.4.23)
- Stopped form navigate away prompts from displaying when in preview mode
- ordering of lookup validation
useLoadDataState()
anduseLoadResourcesState()
to always pass anAbortSignal
has-margin-right-*
andhas-margin-left-*
classesdata-cypress
prop to<ErrorMessage />
component Try Again button
DraftsContextValue
type
- types allowing
definition
in data manager record draw
form element canvas not having correct height when parent<div />
is resized
-
no longer depend upon @blinkmobile/geolocation
-
depend upon use-resize-observer 9.1.0
- pages lookup not setting lookup has executed
- [BREAKING]
executedLookups
is now a required prop of the<OneBlinkFormControlled />
component.
- consider lookup has not having run if input changes
- auto lookup not running for switch with false value
- calculation element not rounding floating point numbers correctly
- Support for Static Lookups to work offline
- Autocomplete element not clearing on lookup returning undefined on value
- support for
runLookupOnClear
to allow running lookups on empty values useLoadResourcesState()
hook
- blur autocomplete when an option is clicked
- form element to display options as soon as possible instead of wait for all dynamic options to be loaded
- allow scrolling page on number elements
- update @oneblink/sdk-core to 4.0.0-beta.1 (from 3.1.0-beta.4)
- MuiV4 Compatible Picker interface
- Only update
lastElementUpdated
when it is triggered via a user input
lookupButtonConfig
tolookupButton
to allow for different labels and icons
useDrafts()
hookusePendingSubmissions()
hook
- [BREAKING]
allowSubmitWithPendingAttachments
prop for<OneBlinkForm />
component toisPendingQueueEnabled
to prevent offline submissions. The functionality regarding attachments from the previousallowSubmitWithPendingAttachments
prop have not changed. - Payment Receipt Items returned from
@oneblink/apps
instead of generated inPaymentReceipt.tsx
FormNotification
to handle static data lookup typeunwindRepeatableSets
parameter stored in localStorage
- lookups running in a loop if the lookup is triggered while currently running
- update @oneblink/sdk-core to 3.1.0-beta.4 (from 3.0.0-beta.2)
useSignUp
hook
- update @oneblink/sdk-core to 3.0.0-beta.2 (from 2.0.0-beta.2)
- [BREAKING]
useLogin()
returns aisMfaCodeRequired
,isSubmittingMfaCode
andsubmitMfaCode
which should be implemented to ensure login attempts support MFA
- options sets that support passing a querystring parameter to filter options server side
- HTML sanitization not running after element inputs are replaced
- data manager sorting error on form change
- sanitized HTML not including classes and styles
- time AM/PM picker not triggering change on keyboard input
- default value for date not catering for timezone
- replaceable dates not catering for timezones
- freshdesk dependent elements not validating correctly
- update @oneblink/sdk-core to 2.0.0-beta.2 (from 1.0.0-beta.3)
- autocomplete option that always displays
isDirty
validation for Checkbox Element
- Repeatable set min/max entries based on another element
- Prevent default behaviour of mouse wheel for number element
@microsoft/eslint-plugin-sdl
eslint plugin
- section validation inside repeatable sets and nested forms
- date validation based on another form element
- Unvisited pages not displaying validation when clicking submit
styles.css
source map file pointing to../src
directory
-
update @emotion/react to 11.10.6 (from 11.10.0)
-
update @emotion/styled to 11.10.6 (from 11.10.0)
-
update @mui/icons-material to 5.11.11 (from 5.8.4)
-
update @oneblink/sdk-core to 1.0.0-beta.3 (from 0.4.6-beta.3)
-
update @react-google-maps/api to 2.18.1 (from 2.12.1)
-
update copy-to-clipboard to 3.3.3 (from 3.3.2)
-
update sanitize-html to 2.10.0 (from 2.7.1)
- add class to elements for validation css
- Replaceable HTML values for hints
- Multiple positions for Hint text to render
resumeAtElement
prop to Form components
title
prop to optional for<Modal />
component- store and retrieve
lastElementUpdated
in local storage when autosave runs and draft is saved - resume form at
lastElementUpdated
when autosave is continued
- Margin on buttons from CSS
element
to lookup payload- Peer dependencies to documentation
requiredAll
to checkbox form elements
- CSS Classes for Radio/Checkbox containers
- Mustache rendering to Info Elements
- ABN prefill to no longer require a name
- update @oneblink/sdk-core to 0.4.6-beta.3 (from 0.4.5)
- Prefill of option elements that depend on a dynamic option element
- V4DateTimePicker not using minDate or maxDate passed in
isInfoPage
prop- new
PaymentReceipt.tsx
component
- Data Manager query string management to merge instead of replace
- Autosave form not discarding autosave
- Summary and Calculation Elements not showing on read only forms
- number input not allowing zeros
- update @oneblink/sdk-core to 0.4.5 (from 0.4.4-beta.1)
- passed the correct function signature to useFormElementOptions in FormElementAutocomplete.tsx
- number input clearing when entering a decimal point on iOS 16
- Form Store table to load results from a button instead of scrolling to the bottom of the window
- Treat all attachment downloads as private storage type
isManual
option touseInfiniteScrollDataLoad()
- Disabled validation for read only forms
- Signature element button "done" to "save signature" and validation message
- Progress Bar to Attachment uploads
- Add prompt to allow continuing submission whilst attachments are uploading
- Data Manager crashing if submission data does not match form element
- Former Repeatable Set elements crashing Data Manager
- Section element's custom css class names not showing
- Copy Button on read only elements
- update @oneblink/sdk-core to 0.4.4-beta.1 (from 0.4.2)
- legacy storage type for form elements
-
update @emotion/react to 11.10.0 (from 11.9.0)
-
update @emotion/styled to 11.10.0 (from 11.8.1)
-
update @mui/icons-material to 5.8.4 (from 5.6.2)
-
update @oneblink/sdk-core to 0.4.2 (from 0.4.2-beta.2)
-
update @react-google-maps/api to 2.12.1 (from 2.7.0)
-
update copy-to-clipboard to 3.3.2 (from 3.3.1)
-
update react-signature-canvas to 1.0.6 (from 1.0.5)
-
update react-table to 7.8.0 (from 7.7.0)
-
update sanitize-html to 2.7.1 (from 2.7.0)
-
no longer depend upon signature_pad
requireMessage
to form element validation- append any
customCssClasses
toob-element
container
- update @oneblink/sdk-core to 0.4.2-beta.2 (from 0.4.1-beta.5)
- Camera element timestamp watermark being too small on high resolution images
- Fix BSB Element validation for empty values
- Autocomplete Dropdown now handles regex special characters
- Float repeatable set remove button instead of absolute positioning
- Generation of default data for
ABN
element where ABN is an array
- Generation of default data for
ABN
form element
onReplace()
touseInfiniteScrollDataLoad()
freshdeskDependentField
form element
- update @oneblink/sdk-core to 0.4.1-beta.5 (from 0.4.0)
unwindRepeatableSets
parameter to form store
- load images from canvases use HTMLCanvasElement.toBlob() instead of using fetch to request base 64 data uris
- calculation element not working with compliance element types
removeAutoSaveDataBeforeSubmit
andremoveAutoSaveDataBeforeSaveDraft
parameters touseFormSubmissionAutoSaveState()
and<OneBlinkAutoSaveForm />
- colour variant for
<LargeIconMessage />
title
MuiV4CompatibleDatePicker
MuiV4CompatibleDateTimePicker
MuiV4CompatibleTimePicker
-
no longer depend upon @mui/material
-
depend upon @mui/icons-material 5.6.2
-
depend upon react-table 7.7.0
-
update @emotion/react to 11.9.0 (from 11.8.2)
-
update @mui/material to 5.6.1 (from 5.5.3)
-
update @oneblink/sdk-core to 0.4.0 (from 0.3.6)
-
update @mui/material to 5.5.3 (from 5.5.1)
-
update @oneblink/sdk-core to 0.3.6 (from 0.3.4-beta.1)
-
update @react-google-maps/api to 2.7.0 (from 2.4.0)
-
update blueimp-load-image to 5.16.0 (from 5.14.0)
-
update query-string to 7.1.1 (from 7.0.1)
-
update react-signature-canvas to 1.0.5 (from 1.0.3)
-
update sanitize-html to 2.7.0 (from 2.5.1)
- elements under a section in repeatable sets not being pre-filled
- [BREAKING] update react to ^17.0.0 (from ^16.14.0)
- [BREAKING] update react-dom to ^17.0.0 (from ^16.14.0)
- no longer depend upon @material-ui/core
- depend upon @emotion/react 11.8.2
- depend upon @emotion/styled 11.8.1
- depend upon @mui/material 5.5.1
- added conditional
ob-section__valid
class to section element - Trimming to user input element types
- import generateFormElementsConditionallyShown and flattenFormElements from @oneblink/sdk-core
- update @oneblink/sdk-core to 0.3.4-beta.1 (from 0.3.2-beta.6)
- Image Attachments not updating when deleting Repeatable Set Entries
attachmentRetentionInDays
prop to<OneBlinkForm />
- steps to have a scroll bar horizontally on multi-page forms on larger screens
- input icons not being centered
- update @oneblink/sdk-core to 0.3.2-beta.6 (from 0.3.0-beta.3)
- ABN form element
- depend upon xml2js 0.4.23
- number slider rendering incorrectly when starting on non-active page
- freshdesk fields to dynamic options sets
- update @oneblink/sdk-core to 0.3.0-beta.3 (from 0.2.3)
- Validation for allowing extensionless attachments
- Year being returned from Intl date formatter as only digits in iOS15
- no longer depend upon abort-controller
- update @oneblink/sdk-core to 0.2.3 (from 0.1.3)
- lookups to files elements
- summary element not working inside repeatable set
- Date display in summary element and date element clipboard copy in USA time
- Date display in summary element and date element clipboard copy in USA time
- BSB form element
-
update @oneblink/sdk-core to 0.1.3 (from 0.1.3-beta.1)
-
update @react-google-maps/api to 2.4.0 (from 2.2.0)
-
update sanitize-html to 2.5.1 (from 2.4.0)
-
depend upon react-input-mask 2.0.4
- update @oneblink/sdk-core to 0.1.3-beta.1 (from 0.1.1-beta.1)
- file extension restrictions to be case insensitive
- attachments in section elements not preventing submissions while uploading
setResult
to result fromuserLoadDataState()
hook
- return type for
useNullableState()
hook
-
update @material-ui/core to 4.12.3 (from 4.12.2)
-
update @oneblink/sdk-core to 0.1.1-beta.1 (from 0.1.0-beta.3)
-
update bulma-toast to 2.4.1 (from 2.3.1)
- date only going back a day in New York timezone after lookup
- reCAPTCHA token being included in submission
- date format in US locale
- date only formatting
draw
form element drawing offset on multi page forms
- logging with Sentry errors
OneBlinkReadOnlyForm
component crashing when trying to render a form with nested elements
- location elements with lookups looping due to reference changes
-
update @material-ui/core to 4.12.1 (from 4.11.4)
-
update @oneblink/sdk-core to 0.1.0-beta.3 (from 0.1.0-beta.1)
- calculations being reset after lookup
- depend upon @oneblink/sdk-core 0.1.0-beta.1
- validation on nested forms not trigging until form has a value in submission
<OneBlinkFormControlled />
componentuseFormSubmissionAutoSaveState()
hookuseFormSubmissionState()
hook- parsing validation for initial submission and data lookup result data
- conditional logic referencing elements inside nested sections
- date only parsing in timezones behind UTC
- reCAPTCHA tokens being duplicated when cleaning submission data
definition
to POST payload for lookup requestscivicaNameRecord
form elementcivicaStreetName
form elementboolean
form elementsection
form element
Barcode Scanner
element auto lookup not sending relevant data
-
update @react-google-maps/api to 2.2.0 (from 2.1.1)
-
update bulma-toast to 2.3.1 (from 2.3.0)
- Toggle all button to Checkbox and Select (multi only) element
- Barcode Scanner lookups to run automatically on scan
- [BREAKING] radio and checkbox inputs to Material UI
- Support for customisable buttons
- Support for custom regex validation
- validation for
camera
form element to ensure an image is selected - replaceable parameter
{INDEX}
in HTML elements nested in repeatable sets
- Hide Add button if repeatable set already has max number of entries
- prefill data on multiple pages overriding parsing of prefill data in subsequent pages
- icons to right side of inputs for form elements:
'number'
'barcodeScanner'
'telephone'
'email'
'date'
'datetime'
'time'
- Only capture date from date element
- days offset to
date
anddatetime
-
update escape-string-regexp to 5.0.0 (from 4.0.0)
-
update sanitize-html to 2.4.0 (from 2.3.3)
- conditional logic loop false positives
- auto save data being saved after submission
- Support for private and public file storage types
- Support for
displayAsCurrency
prop in calculation element
- [BREAKING]
draw
form element to require Done button press before the drawing is added to the submission data
-
no longer depend upon @blinkmobile/canvas-manipulation
-
update @material-ui/core to 4.11.4 (from 4.11.3)
-
update jsqr to 1.4.0 (from 1.3.1)
zoom
property to location form elements submission data
- orientation of images uploading to
files
form elements
- Captured exceptions for certain element failures with Sentry
- required * to
files
andrepeatableSet
form element labels
- options sets with invalid options never finishing loading
- autocomplete with search url
- not URL encoding search parameters
- not validating options returned from request
- Tooltip library to use material-ui tooltip
- Point Address element
- inputs in sub forms in repeatable sets having duplicate
id
properties, causing a bug withdate
,datetime
,time
elements not setting the value selected on the submission data
-
no longer depend upon react-tooltip
-
depend upon @material-ui/core 4.11.3
- validation class on
telephone
element not consistent with other elements
-
update bulma-toast to 2.3.0 (from 2.2.0)
-
update query-string to 7.0.0 (from 6.14.1)
-
update sanitize-html to 2.3.3 (from 2.3.2)
- Compliance element type
hint
to form elements with a label displayed
-
no longer depend upon bulma-tooltip
-
depend upon react-tooltip 4.2.15
- calculations inside repeatable sets using values from all entries
- scroll behavior when changing pages
- [BREAKING]
position: fixed
CSS from multiple page form navigation on mobile screen sizes
- location element loading styles
- Auto lookups no longer run in read only forms
-
update @react-google-maps/api to 2.1.1 (from 1.13.0)
-
update bulma-toast to 2.2.0 (from 2.1.0)
-
update file-saver to 2.0.5 (from 2.0.2)
-
update query-string to 6.14.1 (from 6.13.7)
-
update sanitize-html to 2.3.2 (from 1.27.5)
useLoadDataState
hook<OneBlinkReadOnlyForm />
component
- Files not being able to be re-added to files and camera element after being removed
- inconsistent margin for form element error messages
- Handled error when attempting to convert file to image in
Camera
element
- bulma toasts and flatpickr pickers to be appended to elements inside the
<OneBlinkForm />
component instead of appended todocument.body
.
- styling for add files button
- styling for invisible pages on forms
- Email element showing label twice
geoscapeAddress
form element type
- Checkbox and radio button contrast text determination
- Hyperlinks not being clickable and Images not displaying in HTML elements
- barcode scanner on iOS by using
navigator.mediaDevices.getUserMedia()
instead ofnavigator.getUserMedia()
- no longer depend upon @blinkmobile/camera
- data lookups in repeatable sets not updating elements that already contain data
- element lookups on multi page forms duplicating all elements
- styles from HTML form elements not being consistent with Forms Builder
- sending userToken with requests
isInteger
validation tonumber
type form elementsminLength
andmaxLength
validation totext
andtextarea
type form elements- Support for
includeTimestampWatermark
forcamera
form element type
- source from Flow to TypeScript
- auto save icon not getting position fixed styling
-
update @react-google-maps/api to 1.13.0 (from 1.9.12)
-
update bulma-toast to 2.1.0 (from 2.0.1)
-
update query-string to 6.13.7 (from 6.13.1)
-
update sanitize-html to 1.27.5 (from 1.27.3)
-
update signature_pad to 3.0.0-beta.4 (from 3.0.0-beta.3)
BETWEEN
conditional logic for numeric form elements
- checkboxes button not using option colour
number
element inputs not allow decimal in Safari
- Disabled prop to forms to stop multiple submissions
data-ob-name
attr to elementsuseLogin()
hook to help with implementing a custom login screenuseAuth()
hook and<AuthContextProvider />
component
- date / datetime format error in validation
- Scroll service targeting class that wasn't present on DOM
- CSS not being used
Initial release