Skip to content

v0.7.1

Compare
Choose a tag to compare
@Yegorich555 Yegorich555 released this 25 Jul 09:37
· 627 commits to master since this release

BREAKING CHANGES:

  • Controls. $options.clearAction => refactored enum-names & improved behavior/dynamic-icon for button[clear]

Fixes:

  • SelectControl.SelectManyControl.
    • Menu scrolled to 1st selected item if even select last one (when multiple is allowed)
    • $options.items[0] !== items[0] because wrapped to observer
    • Unable to clear value with Backspace+Enter
  • SelectManyControl. Menu hides when user selects all items - but it's maybe wrong
  • RadioControl.
    • $options.items[0] !== items[0] because wrapped to observer
    • $options.readOnly doesn't work - user able to change value
  • CalendarControl.
    • Wrong size of monthPicker if previously scroll dayPicker to min/max date
    • User can't scroll when $initValue > $options.max
  • DateControl. Menu isn't closed if click on the selected date
  • TextareaControl.
    • Exception when try to clear empty control
    • Ctrl + Z doesn't revert changes
  • NumberControl. option format isn't applied on init
  • Text based controls. Mask. Wrong behavior_when user removes/inserts text in the middle
  • Text based controls - Improved undo/redo overall
    • Ctrl+Z sometimes is wrong
    • Ctrl+Я doesn't work. Need support for different languages
    • Press Escape, Ctrl+Z => no undo-action
    • No undo-action when shake iPhone
  • Controls.Styles. button[clear] has shifted icon when mouse hover

New/Features:

  • helper observer. Added option excludeNested to exclude some nested properties from observer
  • SelectControl.SelectManyControl. $options.readOnlyInput can be number X to enable autoMode where input.readOnly = items.length < X.
  • Combobox controls (Select, Date, Time). readOnlyInput moved to $defaults
  • Controls.Global
    • Improved value comparison (static method $isEqual) to compare by .id. So now don't need to worry about complex objects with id's (mostly related to SelectControl.$options.items & RadioControl.$options.items)
    • Added readonly property $isRequired based on $options.validations.required
  • CalendarControl. DateControl. $options.startWith can be string-date