jsonforms icon indicating copy to clipboard operation
jsonforms copied to clipboard

I am using vue-vanilla renderes and try to use a custom css-only framework https://mildrenben.github.io/surface/ noticed that fields don't have HTML5 type attribute

Open jaguirre-pricesmart opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe.

https://mildrenben.github.io/surface/ using HTML5 type to apply their css the renderers don't have that attribute

Describe the solution you'd like

add the correct type to the control, for example: <input :id="control.id + '-input'" :type="styles.control.type?" :class="styles.control.input" :value="control.data" :disabled="!control.enabled" :autofocus="appliedOptions.focus" :placeholder="appliedOptions.placeholder" @change="onChange" @focus="isFocused = true" @blur="isFocused = false" />

Describe alternatives you've considered

none

Framework

Vue 3

RendererSet

Vanilla

Additional context

No response

jaguirre-pricesmart avatar May 12 '22 21:05 jaguirre-pricesmart

Hi @jaguirre-pricesmart,

I'm not sure that I can follow. We are using the type attribute where necessary, see for example here and here. Is there something I'm missing?

sdirix avatar May 23 '22 15:05 sdirix

Closed as there was no more information. Feel free to reopen when needed.

sdirix avatar Oct 04 '22 08:10 sdirix