-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(KtFieldToggle/KtFieldSelects/KtFieldDates/KtFieldFileUpload): isLoading edge cases #850
Conversation
carsoli
commented
Dec 5, 2023
•
edited
Loading
edited
- prevent triggering setValue on isLoading for KtFieldToggle
- prevent triggering setValue on isLoading for KtFieldDate, KtFieldDateTime, KtFieldDateRange, KtFieldDateTimeRange
- prevent triggering tippy on isLoading for KtFieldSelect, KtFieldSelectRemote, KtFieldMultiSelect, KtFieldMultiSelectRemote
- throw on KtField if setValue is triggered while isLoading is true (to guide kotti devs)
- disable ktFieldUpload(Remote) input natively on isLoading (prevents opening system file explorer)
- breaking: remove isLoading skeleton margins to avoid weird visual jumping of the field when the isLoading is toggled
b9076fc
to
4ce41c9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
4ce41c9
to
ae10ffb
Compare
ae10ffb
to
8ea4286
Compare
@santiagoballadares I will need to test all the skeleton on yoda - would you be able to take over once I publish this and prepare / fix the corresponding changes.. i remove the margin-top and bottom in this MR which will break things (maybe) |
FT done
Fix for |
@carsoli yes, I can update the Kotti version in Yoda and test |
… cases - prevent triggering setValue on isLoading for KtFieldToggle - prevent openning tippy on select fields on isLoading - prevent openning OS file explorer on file upload fields on isLoading - throw on KtField if setValue is triggered while isLoading is true - overwrite margin-bottom in KtField - change mixin to template and remove margin in _loading.scss Co-Authored-By: Florian Wendelborn <[email protected]>
2394b9d
to
7175b4a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Tysm @santiagoballadares for taking over 💯 |