codeRIT / hackathon-manager

All-in-one platform for hackathon registration & logistics.
https://coderit.org/hackathon-manager/
MIT License
30 stars 24 forks source link

feat: Added `v-model` support to custom form components #885

Closed skyegallup closed 7 months ago

skyegallup commented 2 years ago

Closes #884; unblocks #874 and (partially) #794


All existing form elements with values (Checkbox, Dropdown, Radio, TextArea, TextInput) are now compatible with v-model, featuring behavior expected of the native form elements they wrap.

he-884 is currently set up to have all relevant form elements in Home.vue show an alert when the bound model field is changed. This makes testing easier, but it might be annoying in the future; I can revert the commit that adds this behavior before merging if y'all want.