Commit graph

79 commits

Author SHA1 Message Date
Joren Broekema
a451d4fc8a chore: apply prettier formatting changes 2020-04-29 10:05:06 +02:00
Davide
9731771c23 fix: add display:none for hidden (#692) 2020-04-29 10:05:06 +02:00
Carlos Esteban
cf13410026 fix(field): clear method reset modelValue 2020-04-02 16:25:41 +02:00
Joren Broekema
e397f8d68b feat(field): align (pre)filled and empty, fix filled not working
BREAKING: _isPrefilled was removed in favor of _isEmpty. We used to have both, but we decided to align, because they basically do the same thing but opposite. If you were using _isPrefilled, switch to using _isEmpty and just use it in reverse. This change also makes _isEmpty available to all things that implement FormControlMixin. Lastly, filled is available now on all fields that implement InteractionStateMixin
2020-03-25 17:02:10 +01:00
Joren Broekema
530cb31089 fix(field): put submitted prop in interaction state mixin 2020-03-25 17:02:10 +01:00
Alex Ghiu
1b6c3a44c8 fix: normalization model-value-changed events
Co-authored-by: Thijs Louisse <Thijs.Louisse@ing.com>
2020-03-19 09:59:30 +01:00
Sławek Amielucha
ad1e828d51 chore: unify the naming of changedProperties param (#620) 2020-03-04 17:33:09 +01:00
Thijs Louisse
ce0630f32b fix: normalize subclasser apis 2020-02-27 11:07:12 +01:00
Thijs Louisse
d6829ef619 fix(field): interaction states initialized after registration ready 2020-02-20 16:14:26 +01:00
Thijs Louisse
cb7120e3a5 fix: rearrange/cleanup mixin duties 2020-02-20 16:14:26 +01:00
Thijs Louisse
f44d8aa26a fix: removed FieldCustomMixin 2020-02-20 16:14:26 +01:00
Thijs Louisse
583a1820d6 fix: by default, serialize undefined values as '' 2020-02-20 14:17:16 +01:00
Thijs Louisse
9b905c492a feat: api normalisation formElements and values 2020-02-20 14:17:13 +01:00
Ben Amor Aymen
9127f08440 fix(field): do not validate disabled fields (#586) 2020-02-19 21:51:48 +01:00
CubLion
5a0b2c41ea chore: todo cleanup 2020-02-19 21:51:48 +01:00
Aymen Ben Amor
8e7670e501 fix(field): replace state-disabled/filled css classes with attributes 2020-02-10 15:17:51 +01:00
Joren Broekema
848ff06887 feat: flatten modelValue and remove checkedValue
Co-authored-by: daKmoR <Thomas.Allmer@ing.com>
Co-authored-by: CubLion <Alex.Ghiu@ing.com>
2020-02-06 16:06:52 +01:00
qa46hx
868785b860 fix(field): changed order get label 2020-02-06 14:51:26 +01:00
Wessel Loth
954adc5659 fix(button): run regexp once instead of every render cycle
chore: add browserDetection utility to @lion/core

Use it to fix test involving checking the userAgent in LionButton

chore: add browserDetection util to aria element sorting
2020-02-06 11:16:24 +01:00
qa46hx
7f4320dbdf fix(field): limit get label/help-text to childNodes 2020-02-05 13:14:50 +01:00
qa46hx
c2c5e7c299 fix(field): allow html inside labels 2020-02-03 11:25:20 +01:00
Thomas Allmer
5413ad130f feat(field): add wrappers to allow label left of input 2019-12-13 15:19:41 +01:00
Thomas Allmer
6a57e8a235 fix(field): support moving of a portal node 2019-12-04 17:04:35 +01:00
Thomas Allmer
47cadb1696
Merge pull request #398 from ing-bank/fix/amountParsing
fix(input-amount): handle user pasting of amounts heuristically
2019-11-28 17:56:44 +01:00
Thijs Louisse
3d438fc1e0 fix(input-amount): handle user pasting of amounts heuristically 2019-11-27 16:22:06 +01:00
Thijs Louisse
76492af889 fix(field): getAriaElementsInRightDomOrder IE fix 2019-11-27 13:40:20 +01:00
Thijs Louisse
73e9dc5849 fix(field): aria ordering within a FormControl 2019-11-25 18:55:37 +01:00
Thijs Louisse
95d553e239 feat(field): order aria attributes based on nodes 2019-11-22 16:19:21 +01:00
Thomas Allmer
396deb2e3b feat: finalize validation and adopt it everywhere
Co-authored-by: Alex Ghiu <alex.ghiu@ing.com>
Co-authored-by: Gerjan van Geest <Gerjan.van.Geest@ing.com>
Co-authored-by: Thijs Louisse <Thijs.Louisse@ing.com>
Co-authored-by: Joren Broekema <joren.broekema@ing.com>
Co-authored-by: Erik Kroes <erik.kroes@ing.com>
2019-11-18 15:30:08 +01:00
Joren Broekema
5999ea9569 fix: refactor slot selection 2019-11-15 15:50:18 +01:00
Joren Broekema
66d3d390ae feat: remove all deprecations from lion 2019-11-13 11:00:48 +01:00
Thomas Allmer
b95791fc69
Merge pull request #357 from ing-bank/fix/validationFieldset
fix(fieldset): manage when to show error messages
2019-11-01 15:25:28 +01:00
Joren Broekema
bda904245a fix(field): add form elements in the correct order 2019-11-01 13:11:29 +01:00
Joren Broekema
8a4dd7e07d fix(field): delegate autocomplete to inputElement for security 2019-11-01 13:10:43 +01:00
Joren Broekema
c984a66d4b fix(fieldset): manage when to show error messages
Co-authored-by: Thomas Allmer <thomas.allmer@ing.com>
2019-10-31 18:31:53 +01:00
Joren Broekema
88e75a271f fix(field): teardown registrarmanager listener on field after register
Co-authored-by: Anton Kot <anton.kot@ing.nl>
2019-10-25 14:23:17 +02:00
gerjanvangeest
8b1fabbf19
Merge pull request #295 from JaySunSyn/fix/cached-form
fix(form-registrar-mixin): invoke becomesReady on connectedCallback
2019-10-14 08:16:54 +02:00
JaySunSyn
2d45e65926 fix(form-registrar-mixin): fix typo 2019-10-13 13:15:32 +02:00
JaySunSyn
991af25d87 fix(form-registrar-mixin): ensure becomesReady called only once 2019-10-10 17:22:56 +02:00
Marcos Gil
158c070e0c feat(field): add aria-live attribute to feedback slot 2019-10-03 19:15:01 +02:00
JaySunSyn
75b3e2c92f fix(form-registrar-mixin): call becomesReady on connectedCallback 2019-10-01 14:59:53 +02:00
Joren Broekema
9e1678a967 fix(field): style disabled only on inputs inside input-group 2019-09-19 15:43:02 +02:00
Joren Broekema
fb25057964 fix(field): change FocusEvent to regular Event to support IE11 2019-09-13 16:02:31 +02:00
Thomas Allmer
2cb6dee6d9 fix(field): implement FormRegistrarPortalMixin 2019-08-23 16:43:42 +02:00
Thomas Allmer
f8a3c54f60 chore(field): add specs for form registration portals 2019-08-23 16:43:42 +02:00
Thijs Louisse
95a9ce7b0b fix(field): cleaned up old register code 2019-08-14 16:21:09 +02:00
Thijs Louisse
d2035e6a3f feat(field): add reset method and capture inital model value 2019-08-14 16:13:27 +02:00
Joren Broekema
3217c1a739 fix(field): value delegation compatible with FormatMixin 2019-08-14 13:47:07 +02:00
Thomas Allmer
5d893f3760 fix(field): move type property to input & add step property to input 2019-08-13 17:28:27 +02:00
Thomas Allmer
13b27407b5 fix(field): sync type down instead of delegating 2019-08-13 17:28:27 +02:00