Skip to content

FIO-1217 fix shadowRoot for CalendarWidget#5616

Open
ygist wants to merge 1 commit into
formio:4.19.xfrom
ygist:3293-2
Open

FIO-1217 fix shadowRoot for CalendarWidget#5616
ygist wants to merge 1 commit into
formio:4.19.xfrom
ygist:3293-2

Conversation

@ygist

@ygist ygist commented May 24, 2024

Copy link
Copy Markdown

To fix an issue where calendar widget's masked date caret position is wrong on shadowDOM

CalendarWidget extends Element and uses setInputMask. setInputMask needs shadowRoot for text-mask to work properly. #3693 previous fixed the text-mask for other inputs, but the fix does not appear to work for the CalendarWidget because it does not have a (WebForm) root.

Relates to https://github.com/text-mask/text-mask/pull/1034/files

https://formio.atlassian.net/browse/FIO-1217

To fix an issue where calendar widget's masked date caret position is wrong on shadowDOM

CalendarWidget extends Element and uses setInputMask. setInputMask needs shadowRoot for text-mask to work properly. formio#3693 previous fixed the text-mask for other inputs, but the fix does not appear to work for the CalendarWidget because it does not have a (WebForm) root.

Relates to https://github.com/text-mask/text-mask/pull/1034/files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants