1.2.2 release
Release date: 11 May, 2022
Breaking changes
CheckboxgroupCheckbox_blocks
&RadiogroupRadio_blocks
are now usingitem.label
instead ofitem.name
for label.RadiogroupElement
's &CheckboxgroupElement
'sresolvedOptions
are now provided as an array of objects instead of a plain object.disabled
option receivesel$
as it's first param instead ofform$
.Vueform
'sformData
option should now returnFormData
object instead of plain object ifmultipart/form-data
is expected to be submitted.Learn more items
andnativeItems
got renamed toresolvedOptions
inSelectElement
,MultiselectElement
&TagsElement
templates.
Features
- Default theme colors changed from blue to Vueform green.
ElementLabel
font size alignes with input font size.- Added
id
attrs toListElement
'add' & 'remove' buttons. - Date format error only throws console warn instead of error.
- Element functional conditions receives the element component instance as second param.
- Elements's
@change
event receives the component instance as third param. Vueform
's@change
event receives theVueform
component instance as a third prop.- Added
mounted
prop toVueform
. - Added
updateConditions
method to update conditions when they change. - Added
@blur
event toTextElement
&TTextElement
. valueProp
&labelProp
is now available for nativeSelectElement
as well.- Multiselect selected options label can be provided as string with
multipleLabelSingle
&multipleLabelMultiple
options. - Float placeholders can be disabled for elements separately with
floating: false
. - Checkbox group, radio group, select, multiselect & tags items can be provided as strings that will be interpreted as a remote source that loads automatically.
- Added
el$
&Event
params toButtonElement
onClick
option. - Added
id
option toButtonElement
. - Conditions can be disabled globally with
disableConditions
&enableConditions
. ElementInfo
position can be set withtooltipPosition
option and automatically repositions itself if out of window.
Bug fixes
- File sort handle positioning & background color fix.
- Checkboxes keep primary background & checked border color when hovered.
StaticElement
container receivescontainer
class even when not wrapped.FileElement
dynamic preview update fix.- Added missing
wrapper
class toElementLabel
's wrapping.
DateElement
disables
property accepts dates invalueFormat
.- When only a file url or method is provided the other prop will be filled from config.
- Datepicker get reinitalized when options change.
- Recognize addons from schema slots.
- Tailwind input-border height fix.