You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@adamghill in many of your examples (e.g. validation, search, etc.) you use no form tag for the "form". HTML specs say that a form tag should be used for data forms. I see that in most cases using Unicorn this tag is not necessary, as there is no form submitting, and data is synced using u:model.
Would you recommend not using form tags at all if not making a classic form? Is it sufficient to just take the inputs and a button, because everything is wrapped in the component anyway?
In your todo list example on https://www.django-unicorn.com/, there is a form tag though.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
@adamghill in many of your examples (e.g. validation, search, etc.) you use no form tag for the "form". HTML specs say that a form tag should be used for data forms. I see that in most cases using Unicorn this tag is not necessary, as there is no form submitting, and data is synced using
u:model
.Would you recommend not using form tags at all if not making a classic form? Is it sufficient to just take the inputs and a button, because everything is wrapped in the component anyway?
In your todo list example on https://www.django-unicorn.com/, there is a form tag though.
Beta Was this translation helpful? Give feedback.
All reactions