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
@rcoffie Awesome! I updated the tailwind styles a bit but this is great! The only improvement could be for the url field to set the initial values to "https://" so that users can just type in their website and not have to repeat the "https://" each time - I'm going to open this as an issue/improvement
Using just the initial='https://' could be a little bit problematic since the front-end form will warn user with 'Please enter a URL' even though it is not a required field.
We could either write a custom URL validator and deactivate form validation, or even better; add an onchange event listener to the url field to decide whether the input should have https:// at the beginning or left alone(empty).
I'd go with the JS solution since 'https://' alone shouldn't even make it to the payload, but currently there is zero javascript code on the source so I didn't want to go blindly for that.
Good call 👍 I like the js approach. Could you also update the form field to include "https://" to the left of the input so users know they don't have to type that like below? If you want to tackle this I can assign this issue just let me know
@rcoffie Awesome! I updated the tailwind styles a bit but this is great! The only improvement could be for the url field to set the initial values to "https://" so that users can just type in their website and not have to repeat the "https://" each time - I'm going to open this as an issue/improvement
Originally posted by @vacchiano in #24 (comment)
The text was updated successfully, but these errors were encountered: