Open sorousch9 opened 1 month ago
- I want more control over how my input fields look and behave. Right now,
rx.input
adds some default styles and a div that I don’t really want, so usingrx.el.input
seems like the way to go.
And you can add things like type="tel"
then :+1:
Describe the Custom Component Hey there! So, I've been playing around with a custom component, and I've run into a hiccup that I need help with. Basically, I'm trying to use
rx.debounce_input
withrx.el.input
instead of the usualrx.input
because I want to tweak the styles a bit more. A clear and concise description of what the custom component does.Why Am I Doing This? I want more control over how my input fields look and behave. Right now,
rx.input
adds some default styles and a div that I don’t really want, so usingrx.el.input
seems like the way to go.What Should Happen? Ideally,
rx.debounce_input
should work just as well withrx.el.input
as it does withrx.input
, allowing me to debounce my input without running into any errors.When Does This Come in Handy? For anyone who wants to customize their input fields beyond the default styling—this would be super helpful!
Extra Info: Right now, trying to use
rx.el.input
like this throws a frontend error:ReferenceError: input is not defined
. Here’s a quick peek at the code causing the headache:Would love for
rx.debounce_input
to recognize and handlerx.el.input
without freaking out. Thanks a bunch!