Tangerine-Community / tangy-form

<tangy-form> is a web component for creating multipage forms. Other <tangy-*> input elements are included as well.
GNU General Public License v3.0
15 stars 3 forks source link

Fix the dynamic update of hint-text, label, and questionNumber properties/attributes in tangy-radio-buttons.js #276

Open rjcorwin opened 3 years ago

rjcorwin commented 3 years ago

Label and hint text were only reflect once on load in the ready() lifecycle hook and questionNumber was only reflected on render. Now all three attributes are reflected into the dom in the reflect method which is the observer method for their properties, thus they will update dynamically if form developers reassign them.