Glad to see the html component! It doesnt appear though that a simple input with type="password" works. Its fine in edit mode, but on the device itself, the input field doesn't even appear. Is that a known limitation?
also - I'm guessing no real way to access an elements value, since there isnt a 'DOM' to read? The html is only to create some unique styling, etc?
One feature i feel is really useful that is in another app we used to use (Device Magic) is the option to manually enter a value when using the scanner. When scanning a model or serial at times the code is worn off so you might need to enter the value manually. Right now i add another component to either manually add in text field or have a button to open scanner
@PadenM Thanks for this feedback! I wonder if you might be able to achieve something similar by using the scanner "embedded" mode and placing a text input + button below it? Totally agree that showing a popup while a user is having trouble scanning (maybe after some number of seconds) would be a great addition!
Hey all, a note regarding the HTML component. First, I'm glad you're finding it useful! I'd like to note that this week we'll be shipping an update to the web editor preview when building with the HTML component to better reflect what's supported and unsupported on iOS/Android. You may have noticed (I see @msd5079 has with a password input) that certain aspects of the HTML input appear differently on web vs native - this is due to the fact that the HTML you write is converted to React Native code. With this update, we'll be showing that code post-conversion in the browser to help you better understand what will work in your native app. And yes @msd5079, today there is not a way to access a value with the HTML component, it's mainly to be used for presentational purposes.
Hey @iiLaw - unfortunately this probably never actually worked on iOS and Android, and erroneously worked in the web preview. With the change from the comment above, the web preview now more accurately reflects what works on the native app, which probably explains why your svgs no longer render. Sorry about that. Under the hood, we're using react-native-render-html to translate the HTML to native views.
@iiLaw@Darren_Gibney chiming in to suggest we create Feature Request topics here in the forum for each request! That will allow our team to internally attach each topic to a ticket that's on our Eng team's radar in their project planning system. That way we'll be better able to track additional customer interest from others in the forum to pass along, and share updates back from the team if/when there's movement toward implementing the feature request.
@iiLaw I saw this Feature Request which may be relevant to your ask? If not, please do create a new one! thanks!
@Darren_Gibney I'll split your comment out as its own new feature request as well
Thanks again to all of you for sharing your interest in additional Retool Mobile functionality!
I'm a little confused, I'm not sure I have a feature request, only a question re SVG support which won't be supported. That said would +1 for @PadenM data entry popup when having issues Bar/QR scanning as they can be a right pain in to scan ...
My mistake @iiLaw! My comment would make more sense if it had the link I meant to share! I wondered if you were also interested in that same feature request.
More specifically, to answer your question "any plans for say an SVG component ?" I confirmed with the team that SVG support isn’t near the top of their priorities currently, so hasn’t made it to the roadmap yet, but they said their priorities come directly from customer requests so anything you request on the forum here gets read and considered.
Ok SVG would be great but fully understand why it wouldn't be top of the list.
Primary use case is for Internet Of Things creating clickable SVG representations of psychical objects to Start/Stop/Run things.
I just realized custom icon a bit hard to use for rating.
Instead of custom icon component, you could use html component to create it. I attached example app for it.
Note: html component is generally slow (esp on Android) so I wouldn't use it for everything.