Input Element As Custom Component

We are doing a quick test on how custom components work.
We want to create a custom input-type based component, similar to the autocomplete component provided by Wappler.

When setting the TEMPLATE property in HJSON as <input is="dmx-custom..." ....>, the properties in the properties panel do not show. Instead, regular input text properties are shown.
Autocomplete component has a similar temlpate, but it works fine.
When setting template as <dmx-custom>...</dmx-custom>, the properties show up correctly.
What are we doing incorrectly? Or is it a bug?

Also, would you guys be interested in sharing some existing component’s HJSON and un-minified JS code as real-Wappler examples on building custom components?



You can use the priority option.

1 Like