- Fix "Cannot read properties of null (reading 'getTracks')" error. Commit 8e4c7c4446161dbafc8c115f788916cba1f1e0e4
- fixed poor logic for noVideoConstraints property (tangy-video-capture).
- fixed bug (extra bracket) with tangy-video-capture, commit #f53a353697e8dc02e83802b01bb05aa05f9648f9
- fix(tangy-untimed-grid): Add tangy element styles to allow skipping of untimed grid. #384
- Fix bad API use in tangy-video-capture - fixed constraints for video and audio when using
noVideoConstraints
andfrontCamera
properties. #380 - Bump json5 from 1.0.1 to 1.0.2 #385
- Bump lit from 2.4.0 to 2.6.1 #388
- Bump devtools-detect from 4.0.0 to 4.0.1 #382
- Bump decode-uri-component from 0.2.0 to 0.2.2 #381
- Many updates to core packages.
- If running on a Mac with the M1 processor, you must run
node node_modules/polymer-cli/node_modules/wd/scripts/build-browser-scripts.js
in order to avoid the errorcli runtime exception: Error: Cannot find module '../build/safe-execute'
when testing withnpm test
.
- fix(record-audio): Request permissions for recording audio #375
- fix(custom-scoring): Add custom scoring logic property #372
- Upgrade lit to v2.4.0 and signature_pad to v4.1.0.
- Updated tangy-gate custom element to use new lit version.
- Set init property values for frontCamera and noVideoConstraints to false for tangy-video-capture.
- Bump the following dependencies: polymer, prismjs, translation-web-component, webcomponentsjs, redux, signature_pad
- Add protection to scoring if no inputs are defined
- Add automatic scoring functionality for sections that have the
scoring-section
property set. PR: 364 - Allow users to record audio when capturing video. The new 'recordAudio' attribute to tangy-video-capture input adds audio to the video capture. PR: #363
- Updates to the following libs: terser, moment, xzing.
- Additional space removal. #347
- CSS changes for generalization #355
- Remove forced height; hold open input-container to avoid weird growing #360
- Enable grids to be hidden based on skip logic #1391
- Add confirmation to consent form if 'No' selected before the form is closed #3025. Activate this feature using the new property:
confirm-no="true"
.
- Set value for input to image url before dispatching TANGY_MEDIA_UPDATE event.
- The input may now save to the file system. It uses the same TANGY_MEDIA_UPDATE event as tangy-video-capture. In the consuming application, cancel the event (event.preventDefault()) if you wish it to use the original behaviour of saving to the local Pouchdb instance. See the ./demo/tangy-photo-capture.html example for implementation details.
- Add getValueAsMoment helper function #325
- Allow items behind card-actions to be tapped. #340
- Remove extra space at top #339
- Updates to libs in package.json: devtools-detect, image-blob-reduce, and signature_pad
- Fixed configuration options for tangy-video-capture, including issue Default Codec for tangy-video-capture is not read from input settings #3333
- Improved UX for 'tangy-video-capture' by consolidating the record and save buttons into a single button. Also added some CSS borders around the video to indicate recording active, recording stopped, and playback.
- Added 'dataType' property and removed unused properties from 'tangy-video-capture'.
- Add postfix property to tangy-keyboard-input. Also add highlight to value entered. PR: #333
- Dispatch a
TANGY_MEDIA_UPDATE
event when<tangy-video-capture>
value is updated. This will be useful when saving media files to the server.
- Fix URL for sortable dependency to be git+https instead of git+ssh.
- Add new input
<tangy-video-capture>
. Takes the following properties:- frontCamera: Boolean. Whether to use the front camera or the back camera. Default is
true
. - noVideoConstraints: Boolean. Whether to force use of front or back camera. If true, chooses the first available source. Default is
true
. - codec: String. The codec to use. Default is 'video/webm;codecs=vp9,opus' - AKA webm vp9. It is possible the device may not support all of these codecs. Other potential codecs:
- video/webm;codecs=vp8,opus
- video/webm;codecs=h264,opus
- videoWidth: Number. The width of the video. Default is
1280
. - videoHeight: Number. The height of the video. Default is
720
.
- frontCamera: Boolean. Whether to use the front camera or the back camera. Default is
- Fix URL for sortable dependency to be https instead of
git://
.
- Add new inputs
<tangy-keyboard-input>
and<tangy-radio-blocks>
.
- Add support for
fullscreen-inline
attribute on<tangy-form>
to do fullscreen just in app without Fullscreen API. (https://github.com/Tangerine-Community/tangy-form/commit/c5bdecbe36b8efccea362f7a158e2acc33f8526c) - Add support for
full-screen-nav-align
attribute on<tangy-form>
for aligning the fullscreen nav to top or bottom. Example:<tangy-form full-screen-nav-align="bottom">
(https://github.com/Tangerine-Community/tangy-form/commit/7aaae3fcd3822413de523afa1abe5c931ce04ab3) - Provide CSS variables for action buttons when positions top or bottom in fullscreen. (https://github.com/Tangerine-Community/tangy-form/commit/a14cf6d1d434d41402c930025c5483f0d157080d, https://github.com/Tangerine-Community/tangy-form/commit/30b19ef7a0ffa0932c719c5a1781ea8d146f0441)
- Hide tangy form item checkmarks when in fullscreen mode. (https://github.com/Tangerine-Community/tangy-form/commit/2f3da4a7e9e92ca78b56ee74766cac75b69e6a17)
- Add support for opening a form in fullscreen mode. Add
open-in-fullscreen
attribute to<tangy-form>
.
- When viewing a completed form response, all tangy-templates now appear regardless of any previously evaluated directive because state like
skipped
has not been saved in form responses. This version makes tangy-template even more dynamic by evaluating directives on tangy-template even when in a completed form response.
- Fix: Tangy Template should display rendered template when being reviewed in a submitted form response #311
- Fix: Tangy Template elements all say "false" if using environment variables like caseService and T #3203
- Remove imports in TangyInputBase that are breaking builds
- Add ability to inject localized variables for use in Tangy Form logic #292
- Add support for optional
window.useShrinker
flag that will cause only modified properties on inputs to be captured #210
- When using Cycle Sequences, the Cycle Sequence used is now stashed in the form response for reference later in data analysis. #282
- Merged a number of Dependabot dependencies PRs.
- Fix issue causing tangy-input-groups to not resume correctly.
- Fix
on-change
logic not called when changing a value in sometangy-input-group
. (#280)
- Add support for changing the translation of form controls without reloading the page using the
<t-t>
AKA<t-translate>
element from thetranslation-web-component
library. <t-number>
added from thetrasnlation-web-component
library for translating numbers in content.
- Add support for leaving out an index in a cycle sequence, effectively causing it to be skipped. #279
- Add support for configuring compression on
<tangy-photo-capture>
. eg.<tangy-photo-capture compression="0.05"></tangy-photo-capture>
- Fix "Camera not released after photo taken with
<tangy-photo-capture>
". Camera is now released when going to the next page or leaving a form.
- Fixed bug in cancelledBeforeSubmit for 'before-submit' event
- Implemented a new 'before-submit' event to tangy-form in order to listen to events before the 'submit' event is dispatched.
- User defined Cycle Sequences index should begin at 1 PR:#269.
- Defined Cycle of sequences (randomization) breaks Preview and form Play from Tablet #2714. fix(tangy-form): Reset index after reaching the last cycle index PR: #234
- tangy-photo-capture: Disabled the switcher due to issues with Android 9. Reduced the image preview to 75%.
- tangy-photo-capture: Integrate Capture and Saving (Accept) into a single step.
- tangy-photo-capture: Hiding display of video when viewing a record in order to see the captured image.
- Implemented a switcher for front and back cameras for the tangy-photo-capture input. PR: #247
- The tangy-photo-capture input now uses the rear camera to capture images.
- Changes to enabled 'npm run build' to complete successfully: Update webpack to work with es6 #244
- Revert to package-lock lockfileVersion to 1.
- Fix Intermediate grid capture timer should stop when grid is stopped manually/ or autostop is triggered #2724
- Declare this package as a module so that it can be imported into node.js projects.
- Updated
photo-capure
component. - Data is saved as
jpeg
withbase64
encoding - It attemps to take the picture with the highest possible quality and then resizes it with best practice resizing algorithms (using the built-in canvas resizer is poor quality). By default it tries to keep the size below 256kb, but this can be changed to any arbitrary size using the max-size-in-kb attribute. Example
<template>
<tangy-photo-capture name="test-photo" max-size-in-kb='128'></tangy-photo-capture>
</template>
Allow users to define custom sequence for the execution in tangy-form - Tangerine-Community/Tangerine#1603 Sections are separated by new lines while Items are comma separated Part of Tangerine-Community/tangy-form-editor#177
- Grid autostop last item attempted default: (loe: low) Tangerine-Community/Tangerine#2467, PR: #206
- Grid auto stop: Tangerine-Community/Tangerine#2559, PR: #206
- Grid restart doesn't clear out intermediate capture variable #2661 #211
- Sort tangy-location options by label.
- Add
sectionEnable
function back to tangy-form.
- Add new
skip()
andunskip()
helper function for skipping<tangy-form-item>
. Functions are available inon-change
at the<tangy-form>
level. Example:<tangy-form on-change="skip('item2')>
. - Fix "Open All" feature when there is a skipped
<tangy-form-item>
- Add missing "Open All" feature.
- Add an "Open All" button to a completed form response.
- Fixes dynamically set level tangy location not resuming correctly #202
- Fixes when a form is unlocked, the first item's
on-open
was not running after unlocking.
- The current ethiopian date widget shows the previous month when the 'Today' button is clicked. The cause is that Date() returns an index to the current month, not the number of that month (for example February is '1'). This fix adds one to the index before converting to an ethiopian date.
- Fixes a spelling mistake in the transfromValueMoment function.
- Add support for events on tangy-form:
resubmit
,after-resubmit
,after-submit
.submit
event no longer calls after unlocking and submitting a form,resubmit
is called. This ensureson-submit
hook logic is only ever called once, not again after unlock. To run logic after an unlock, add logic toon-resubmit
.after-resubmit
andafter-submit
are called after submit and resubmit have finished and response is marked complete. If you are saving a Tangy Form Response into a database, this would be the correct event to listen for otherwise the form response would have a complete flag set to false.
- Make
<tangy-ethio-date>
and<tangy-partial-date>
fire a change event when the today button is clicked
- Support for
<tangy-ethio-date>
input that exposes a Date Picker that validates for the Ethiopian Calendar.
- Fix issue with #warn-text div displaying when empty in tangy-select and tangy-location.
- New
warn-background-color
andwarn-color
css vars - Alignment of required asterix.
- New
Loc.getLineage()
function for calculating the tree of location nodes given a location node ID - New
<tangy-gate>
input for blocking UI until the Tangy Gate's value is set to true. This is useful for preventing users from proceeding when a complex condition is being run in anon-change
or when asynchronous database code is running and we need a way to tell the user to hang out while it completes.
- Fix: abandons drawing boundary box when unable to identify all corners of scanned QR code.
- Updated "@zxing/library": "^0.17.1",
- Set width of canvas to 340px to reduce load on tablets.
- Fix: switch observer on hintText from render to fix issue with mutually exclusive checkboxes.
- Refactor tangy-if hook on inputs to apply the skipped attribute as opposed to the hidden attribute.
- Refactor show-if hook on inputs to apply the skipped attribute as opposed to the hidden attribute.
- Fix: hint-text is missing from many inputs when using TangyForm.getMeta() #149
- Fix: Mark entire line of grid as incorrect cannot be undone #1651
- Fix: Autostop is not triggered when marking the entire lineas incorrect #1869
- Fix typescript definition for helpers.js.
- Fix unlocking of inputs that exist in the data but not in the meta, for example with tangy-input-groups.
- Fix broken npm release due to change in release process.
- Add TangyFormResponseModel.get(), TangyFormResponseModel.set(), and Get/Set factories for shorthand get() and set() methods in helpers.js. #143
- Added 'identifier' property to all inputs.
- Remove npm test from github action, seem to need an extra install for chrome or something.
- Firefox test env is not installing correctly, fall back on chrome tests.
- Add package-lock.json to make npm ci command happy.
- Set up release process on Github Actions.
- Added a
<tangy-toggle>
element based on material toggle switches. - Standardize output across inputs around question number and label.
- Additional CSS variables exposed.
--tangy-form-widget--margin
,--tangy-form-item--paper-card--header
,--tangy-form-item--paper-card-content--padding
.
- Fixed
error TS1039: Initializers are not allowed in ambient contexts.
with .d.ts typescript file for TangyFormResponseModel
- Default for TangyFormResponseModel is type:'response'
- Worked on tangy-qr to stop the plugin when cancelled or disconnected.
- Updated @zxing/library" to "^0.17.0
- Make initial collecting of meta data of a tangy-form more safe to avoid race conditions of uninitialized tangy-form-item elements.
- Add wct-browser-legacy back as it's no longer breaking npm install.
- Add TangyForm.unlock() API for unlocking a completed form response.
- Add improvements to TangyForm.getMeta() to ensure it delivers original state.
- Ensure that items in a tangy-list stack in rows not rows and columns.
- Fixes for importing sortable-list to make it compatible in more bundling environments.
- Changed package for sortable-list - a dependency for
<tangy-list>
- to newer version.
- Add support for sorting items in a
<tangy-list>
#131
- Fixes
- Fix
Uncaught TypeError: Cannot read property '_' of undefined
error experienced in some build environments by removing the Underscore dependency.
- Fix
- Fixes
- Removed render observer from tangy-radio-buttons - should speed up loading.
- Fixes
- Removed logging of missing translation strings - this logging created too much clutter in the logs.
- Fixes
- Fixed Required inputs in a hidden tangy-input-group should not prevent going next #1879
- Fixes
- New
- Fixes
- Fix issue where skipped or hidden items would still take up space. This comes at the sacrifice of losing the animation. Until CSS support animating display none this we'll have to do without the animation.
- Fix issue causing inputs skipped and disabled to overlap other content.
- Fix issue causing markup to be pruned from tangy-template templates.
- Fix issue causing skipped inputs to be validated, thus blocking going next when they are required and empty in value.
- Fix bug in tangy-template causing greater and less than expressions to become HTML encoded thus breaking templates.
- Add
dont-skip-if
attribute to complementskip-if
attribute directive.
- Add
skip-if
attribute and helpers. Similar tohide-if
andinputHide()
, but resets value of input when applied. - Add support for
mutually-exclusive
attribute on options in tangy-checkboxes. When enabled on an option, when that option is selected it will remove any prior option selections.
- Add missing typings for TangyFormResponseModel for compatibility with TypeScript projects.
- Add support for attributes on all inputs: discrepancy-text, has-discrepancy, warn-text, has-warning.
- PR: #111
- Issue: Tangerine-Community/Tangerine#1760
- Fix: Ensure inputs in tangy-input-groups are validated.
- Fix bug in tangy-location resulting in bad behavior when not defining show-levels attribute.
- Add support for label attribute on
<tangy-location>
.
- Fix TangyLocation.value setting from markup.
- Fix dynamic reassignment of TangyLocation.showLevels to make sure value is reset.
- On
<tangy-timed>
when using auto stop, return the property instead of the instead of the truthfulness of the value which is always false.
- Refactor for
<tangy-eftouch>
.<tangy-eftouch multi-select go-next-on-selection="2">
should become<tangy-eftouch multi-select="2" go-next-on-selection>
. This allows for expanding functionality of being able to use multi-select without go-next-on-selection but still limit the number of choices the user can make minus the transition.no-corrections
has been deprecated for newdisable-after-selection
attribute. When used withmulti-select
, the number of selections are still limited by the setting onmulti-select
, but changing selection is not allowed.- The
required
attribute when used withmulti-select
will only require just one value selected. If you need form example 2 selections to be valid, you can combinerequired-all multi-select="2"
. - We have an API change where we used to have
TangyEftouch.value.selection
was sometimes a string when not usingmulti-select
and then when usingmulti-select
, is was an array of strings. NowTangyEftouch.value.selection
will always be an array of strings.
- Fix extra white space around checkboxes Tangerine-Community/Tangerine#1690
- Fix longstanding bug where nav bar when complete would show if no summary item.
- Fix 'selected value label' text in tangy-select and tangy-location when in dark mode.
- Use --primary-text-color variable in TangyPartialDate
- Add variables: --tangy-hint-text--font-size, --tangy-required-indicator--font-size, --tangy-required-indicator--font-size, --tangy-required-indicator--font-size, --tangy-form-item--background-color and dark-mode.html demo
- Fix CSS causing icons next/back icons to dissappear and also for next/back translations to overun.
- Fix translations for
<tangy-partial-date>
's error message defaults.
- Add support for a
disable-if
attribute, similar toshow-if
but for disabling items. - Fixes for
<tangy-input>
so that if disabled and required it does not block proceeing on a form. - Error logging functionality designed for editor use was blocking errors from the Javascript Console, this is now fixed.
- Add the property "value" when the row marker is clicked for each of the buttons - csv reports
- PR: #103
- fix auto-stop to enable revealing of hidden radio buttons when a correction is made.
- Issue: Tangerine-Community/Tangerine#1519
- PR: #102
- Fix missing indication that required field was not filled out. Tangerine-Community/Tangerine#1701
- Fixed auto-stop for radio buttons bug bug. Limit hideInputsUponThreshhold to tangy-radio-buttons inputs. No longer need to call hideInputsUponThreshhold in on-change event when using incorrect-threshold in tangy-radio-buttons.
- Issue: Tangerine-Community/Tangerine#1519
- PR: #100
- In tangy-timed, ensure gitVarItemAtTime and gridVarTimeIntermediateCaptured is saved into the form response.
- Roll back rem setting in tangy-timed to em for button font size.
- Vertical center for tangy-toggle-button contents / tangy-timed items. https://github.com/Tangerine-Community/tangy-form/commit/c677ffb2620343fa993509d875e6418ea6757205
- Fixes for saving and resuming
<tangy-checkboxes-dynamic>
. #98
- Make oversized tangy-timed grids gracefully handle overflow with overflow scroll setting.
- Fix font setting for tangy-toggle-button font sizes in tangy-timed
- Check if captureItemAt is defined in tangy-timed.
- Fix use of no-correction on tangy-eftouch to not allow any selection after first.
- Features
- Improvements and support on all inputs for
error-text
,hint-text
,question-number
, and content translations.- Issue: Tangerine-Community/Tangerine#1655
- PR: #88, #86
- Add support to
<tangy-qr>
for scanning data matrix codes.- Issue: Tangerine-Community/Tangerine#1653
- PR: #87
- New "Capture Item at N Seconds" feature for
<tangy-timed>
will prompt Data Collector to mark which item the child last read after a specific amount of time.- Issue: Tangerine-Community/Tangerine#1586
- PR: #95
- New
goTo('itemID')
helper function to navigate users to a specific item given some item levelon-change
logic.- Issue: Tangerine-Community/Tangerine#1652
- PR: #92
- New
<tangy-signature>
input for capturing signatures.- Issue: Tangerine-Community/Tangerine#1656
- PR: #90
- Visibility of labels and/or icons on item navigation now configurable with
<tangy-form-item hide-nav-icons>
and<tangy-form-item hide-nav-labels>
.- Issue: Tangerine-Community/Tangerine#1682
- PR: #73
- Improvements and support on all inputs for
- Fixes
- Fix performance issues caused by needless TangyForm.on-change events from firing when they don't need to.
- Issue: Tangerine-Community/Tangerine#1656
- PR: #89
- Fix data collector reviews completed fullscreen form
- Issue: Tangerine-Community/Tangerine#1629
- PR: #75
<tangy-eftouch auto-progress>
now distinguishes between going next on the time limit and going next on a number of selections. The API is now<tangy-eftouch go-next-on-selection=2>
for going next on 2 selection and<tangy-eftouch go-next-on-time-limit>
for going next on the time limit.- Issue: Tangerine-Community/Tangerine#1597
- PR: #84
<tangy-eftouch>
content is now more likely to fit above the fold, not overlap with content above it, be more consistent on smaller screens, and also adapt to screen size changes.<tangy-eftouch>
suffered from going to next item twice due to time limit and selection being made at in a close window. This is now fixed.- Issue: Tangerine-Community/Tangerine#1596
- PR: #76
- Fix Partial Date validation and for disabled attribute not reflecting
- Issue: Tangerine-Community/Tangerine#1683
- PR: #71
- Fix performance issues caused by needless TangyForm.on-change events from firing when they don't need to.
- Added the exit-clicks attribute to tangy-form and tangy-form-item, which is for the number of times a user must click the exit fullscreen button before that mode is deactivated.
- Fix tangy-select test regression and work on EFTouch transition sound plays only on auto-progress #137
- API change in tangy-select - use of secondaryLabel is supported but deprecated; Use optionSelectLabel instead.
-
Enable content of a form to be styled from the parent document. #64
Upgrade instructions: This is considered to be a major release because some users' forms would look into a form item's contents using
tangyFormItemEl.shadowRoot.querySelector(...)
. The contents of the form can now be accessed attangyFormItemEl.querySelector(...)
. If you have any use ofshadowRoot
in our form content, beware. The advantage of moving this content out of the shadow DOM is that you can now style it directly from your app.
- Add ability to reference inputs.NAME in valid-if attributes. #65
- Fix resuming a
<tangy-parial-date>
and use of boolean attributes. #62
- Add new
<tangy-partial-date>
input for capturing partial dates. Seedemo/partial-date-demo.html
for a demo.
- Add support for distributing bundles in
dist/bundle.js
.
- Adding variables so that the select element may be styled. #50
- Add validate function to tangy-acasi input in order to enable 'required' feature.
- Add support for autostop in tangy-radio-buttons and path changes for the tangy-acasi widget #49
-
Autostop is implemented by using the hideInputsUponThreshhold helper, which takes a tangy-form-item element and compares the number of correct radio button answers to the value in its incorrect-threshold attribute.
Usage:
<tangy-form-item id="item1" incorrect-threshold="2">
-
A new "correct" attribute has been added to tangy-list-item to store the correct value.
Usage:
<tangy-radio-buttons name="fruit_selection2" label="What is your favorite fruit?"> <option name="tangerine">Tangerine</option> <option name="cherry" correct>Cherry</option> </tangy-radio-buttons>
-
- Add support for eftouch multi-select attribute and multiple values of correct options #48
- Fix adding of
<option>
elements to<tangy-select>
after first load. #46
- Exposed option-font-size attribute to tangy-timed and tangy-untimed. Usage: Sets the host font-size in tangy-toggle-button. using the --tangy-toggle-button-font-size custom CSS property.
- Fix bug that prevents tangy-form-item from validating when it has nested elements.
- Added
numberOfItemsAttempted
,numberOfCorrectItems
,numberOfIncorrectItems
, andgridAutoStopped
toexposeHelperFunctions
.
- Added
cancel
andscanning
events to<tangy-qr>
.
- Add safe eval of custom logic, error message notifications, and finally remove support for deprecated use of form tags. #41
- Add new helper convention that if a tangy-form has a tangy-location input with a name of location, cache that data at FormResponse.location. #41
- In some contexts, section is a more appropriate helper function term than item, and item is a more appropriate term than input. These are now available in corresponding places.
- A bug on tangy-input using type="number" was causing them to immediately become invalid when empty.
- Make more helper functions available to valid-if (More tests for tangy-if and valid-if #38).
- Add widget
- Add widget
- Fix infinite loop in tangy-input value setting that was causing other parts of tangy-form to quietly fail.
- Fix broken min and max validation for tangy-input, also type=date
- Fixed issue where some
hint-text
andlabel
attributes with markup would show escaped.
- Include the
<t-lang>
web component by default for providing form translations. - Allow use of
<t-lang>
in<tangy-select>
option labels. - Allow HTML in tangy-input's label and hint text. Allow use of for translations in placeholder, innerLabel and error message.
- New
<tangy-template>
element evaluates a JS string literal in the context of tangy-form-item'son-change
.
- Add additional grid helper functions #33
- Fix bug that was causing tall elements to get cut off.
- Fix TangyTimed.validate() to prevent getting stuck on non-required tangy-timed.
- Add
placeholder
andinner-label
attributes to tangy-input for overiding the defaultEnter your response to above question here.
.
- New
<tangy-timed row-markers>
attribute allows you to mark entire rows on a grid. Tangerine-Community/Tangerine#1333 - Fixed
<tangy-timed columns=4>
attribute. Some situations the columns would not add up correctly. - Fixed automatic selection of last attempted when hitting auto-stop Tangerine-Community/Tangerine#1327
- New
valid-if
attribute on all inputs enables ability to define custom validation logic per input. Tangerine-Community/Tangerine#1319 on-change
now fires after invalid submit allowing for custom validation messages (see new example). Tangerine-Community/Tangerine#1326- Fix tangy-if setting Object.hidden to true having an affect via reflect to attribute. Tangerine-Community/Tangerine#1330
- New
<tangy-qr>
input for capturing QR data. #30 - New
hint-text
attribute you can add to most inputs. #29 - New
auto-stop
attribute for<tangy-timed>
will automatically stop if the first x number of attempts are marked. #28
- Add convenience methods to disable inputs and item buttons - an easy way to display form results:
- enableItemReadOnly() - disables the inputs in the form (disableItemReadOnly() to re-enable the inputs)
- hideItemButtons() - hides the Open/Close buttons (showItemButtons() to show them again)
<tangy-location show-meta-data>
attribute now shows meta data about a location when selected. You can also add an inline JS template string. #13 (comment)
- Fix an bug in Loc.unflatten() where it would return an object with circular references.
- Optimize Loc helper methods to avoid callstack limits when working with large location lists.
- Fix tangy-checkbox applying of labels to no longer prevent markup from being used.
- Add
<tangy-list>
element for allowing users to currate lists of inputs in an item. This is an alternative to<tangy-input-groups>
and may replace it in the future.
- Add
<tangy-checkboxes-dynamic>
input element for loading the options of tangy-checkboxes using a json file.
- New
<tangy-photo-capture>
input element for capturing photos on forms. - Fix a bug where values set during on-open would be overridden with previous set values.
- Made safer resuming responses when the items in the form no longer match.
- EFTouch option positioning improvements.
- You no longer have to include all of the tangy input elements in your build. You define which ones you use by importing then individually. See README.md for more details.
- Overall code organization refactor. We now place input elements in the input folder, shared style files in the style folder, and some utilities in the util folder.
- Tests are no longer all in one file. They are split out into files that match up with their related components into a specific "suite". All suites can be run by starting with
npm start
and then openinghttp://localhost:8081/test/
. Click on a suite and it will run just the tests for that suite. Handy when you are doing TDD and don't want to wait for other suites to run. - tangy-form theme is now customizeable in your application. See README for details.
<tangy-form-item>
will now have ais-dirty
attribute when it has changes that have not yet been saved.
- Added
<tangy-input-groups>
as an alternative to<tangy-cards>
. We will deprecate tangy cards.
- Loc.filterById now includes decendents by default.
- New APIs: TangyFormResponseModel.inputs, TangyFormResponseModel.inputsByName, Loc.filterById, TangyLocation.filterBy
- You can now
<tangy-location filter-by="school1,school4"></tangy-location>
to limit what is available for selection. - You can now
<tangy-location filter-by-global></tangy-location>
to limit what is available for selection whenwindow.tangyLocations
is defined.
- Add tangy-cards element for arbitrary number of input groups.
- Adjust position of
*
on required elements.
- Reduced whitespace to make forms more compact.
- tangy-timed controls now with smarter positioning for situations where it may be edited or multiple tangy-timed on one page.
- tangy-timed font sizes were too small. Increased to 1.5em.
- Fixed attributes for hiding things when using tangy-gps.
- Default primary color has been updated to match that of Tangerine Client.
- Tabs when selected are highlighted with secondary color to match behavior of Tangerine Client.
- Add support for min and max attributes on tangy-input.
- Fixed issue where XMLHttpRequests in cordova apps using CHCP would not use status code leading to tangy-location elements not loading correctly.