meliorence / react-native-render-html

iOS/Android pure javascript react-native component that renders your HTML into 100% native views
https://meliorence.github.io/react-native-render-html/
BSD 2-Clause "Simplified" License
3.48k stars 589 forks source link

Select tag is not supported #547

Closed jotilohana closed 2 years ago

jotilohana commented 2 years ago

Decision Table

Good Faith Declaration

Description

Select tag is not supported

React Native Information

the select tag is valid html element but its not handled by this library you must extend the default html element model for this tag ....

RNRH Version

0.16.0

Tested Platforms

Reproduction Platforms

Minimal, Reproducible Example

https://github.com/jsdf/react-native-htmlview

Additional Notes

No response

jsamr commented 2 years ago

@jotilohana Thank you for your submission! This is a bit hidden in the docs, but interactive elements are not supported by default, which is suggested by the feedback you reported. image (see https://meliorence.github.io/react-native-render-html/docs/flow/transient-render-engine#translation)

However, you can declare a model and write a custom renderer to handle those tags. See https://meliorence.github.io/react-native-render-html/docs/guides/custom-renderers

I am closing now, as this is not a bug.