Closed xmlking closed 2 months ago
Hi @xmlking, unfortunately that's not a Skeleton feature. That's just part of the native inputs in Chrome and/or webkit based browsers. I would imagine there's a way to do it, but I'm not sure off hand.
The only interaction Skeleton has this with this feature is related to styling. You can see the selector here. Maybe this will help? https://github.com/skeletonlabs/skeleton/blob/master/packages/plugin/src/styles/base/forms.css#L29
Unfortunately this is outside of the scope of things we cover for Skeleton support, so I'll be closing this issue. But good luck!
Describe the feature in detail (code, mocks, or screenshots encouraged)
I wonder if there is already a solution to trap clear event (clicking the black
x
) in the input boxI tried to implement with
on:change
, but it sub-optimally works. I have to click outside after I clear the input via black close Icon.What type of pull request would this be?
None
Provide relevant links or additional information.
Source: https://github.com/xmlking/spectacular/blob/main/apps/console/src/routes/(app)/policies/components/search-policies-form.svelte