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
I want to restrict host value entered in webui to https://*.domain.com
How to validate host field in webui? I tried adding pattern='https://.*.domain.com' to SwarmForm.tsx but that does not work. I know I can add javascript code, but I am looking for a simpler way to do with either pattern= html5 attribute or simple code change in one of the tsx files
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
-
I want to restrict host value entered in webui to https://*.domain.com
How to validate host field in webui? I tried adding pattern='https://.*.domain.com' to SwarmForm.tsx but that does not work. I know I can add javascript code, but I am looking for a simpler way to do with either pattern= html5 attribute or simple code change in one of the tsx files
Beta Was this translation helpful? Give feedback.
All reactions