jsoneditor icon indicating copy to clipboard operation
jsoneditor copied to clipboard

How I can hide (like password html input type) somes input ?

Open lefuturiste opened this issue 8 years ago • 3 comments

Hi!

How I can make somes fields hidden ? Like type="password"in html

Thanks for your help

lefuturiste avatar Sep 08 '17 17:09 lefuturiste

That's an interesting idea, thanks. This isn't supported right now though, I will mark this as a feature request.

josdejong avatar Sep 11 '17 18:09 josdejong

Can we get some work around at least? Maybe an event that gets fired when a field gets added in the DOM so we can change the field with our own.

fmuntean avatar Nov 24 '21 14:11 fmuntean

I do not know of an easy workaround unfortunately. A good solution may be to implement an onRenderValue option discussed in #738, and with that, apply custom rendering for passwords.

A bit off-topic, but the successor of this library, josdejong/svelte-jsoneditor, will soon support onRenderValue, it's in the making right now.

josdejong avatar Nov 27 '21 08:11 josdejong