bcgov / common-hosted-form-service-techdocs

Technical documentation for the Common Hosted Forms Service (CHEFS).
Apache License 2.0
0 stars 5 forks source link

Adding custom CSS classes to Html element component | form design #32

Closed bhuvan-aot closed 2 months ago

bhuvan-aot commented 2 months ago

Updating the documentation to include

  1. custom CSS classes to Html element component to override existing behaviour of the components
  2. add new CSS class for specific purpose and refer back in advanced components.
  3. Update the existing example form reference with new form with CHEFS team members.
WalterMoar commented 2 months ago

Looks good, although I think that the version of form.io that we're using has a bug that is allowing this. You shouldn't be able to put <style> into these components :( https://help.form.io/userguide/form-building/layout-components#html-element image Maybe something to discuss with the POs? We might not want to be encouraging behaviour that will break in the future?

bhuvan-aot commented 2 months ago

Looks good, although I think that the version of form.io that we're using has a bug that is allowing this. You shouldn't be able to put <style> into these components :( https://help.form.io/userguide/form-building/layout-components#html-element image Maybe something to discuss with the POs? We might not want to be encouraging behaviour that will break in the future?

thank you for pointing this out, I will bring it up with Keyvan, Duncan and Matt about it. We may not need this at all.